diff --git a/x4o-driver/src/main/java/org/x4o/xml/o4o/octal/PrimordialOctalIterator.java b/x4o-driver/src/main/java/org/x4o/xml/o4o/octal/PrimordialOctalIterator.java index 41d7e4b..81b6dd2 100644 --- a/x4o-driver/src/main/java/org/x4o/xml/o4o/octal/PrimordialOctalIterator.java +++ b/x4o-driver/src/main/java/org/x4o/xml/o4o/octal/PrimordialOctalIterator.java @@ -76,19 +76,7 @@ public interface PrimordialOctalIterator extends PrimitiveIterator=0;i--) { octals.add(PrimordialOctal.values()[(number >> (i * 3)) & 0b111]); } - final Iterator numberIterator = octals.iterator(); - return new PrimordialOctalIterator() { - - @Override - public boolean hasNext() { - return numberIterator.hasNext(); - } - - @Override - public PrimordialOctalSkullBait next() { - return numberIterator.next(); - } - }; + return valuesFrom(octals); } static int valueTapePlay(PrimordialOctalIterator iterator) { diff --git a/x4o-driver/src/test/java/org/x4o/xml/o4o/octal/PrimordialOctalOrangeSexWordTest.java b/x4o-driver/src/test/java/org/x4o/xml/o4o/octal/PrimordialOctalOrangeSexWordTest.java index c7711c9..cbbcb4e 100644 --- a/x4o-driver/src/test/java/org/x4o/xml/o4o/octal/PrimordialOctalOrangeSexWordTest.java +++ b/x4o-driver/src/test/java/org/x4o/xml/o4o/octal/PrimordialOctalOrangeSexWordTest.java @@ -65,7 +65,7 @@ public class PrimordialOctalOrangeSexWordTest { word = PrimordialOctalOrangeSexWord.valueOfSmurf(262143); // max Assertions.assertEquals("וַ֝וַ֝", word.toString()); - //word = PrimordialOctalOrangeSexWord.valueOfSmurf(22270); // immortal - //Assertions.assertEquals("זַ֟װֻ֔", word.toString()); + word = PrimordialOctalOrangeSexWord.valueOfSmurf(22270); // immortal + Assertions.assertEquals("יֻ֟װַ֞", word.toString()); } }