Subversion Repository Public Repository

litesoft

Diff Revisions 779 vs 831 for /trunk/Java/core/Anywhere/src/org/litesoft/codec/StringTypedTerminatingCodec.java

Diff revisions: vs.
  @@ -14,7 +14,7 @@
14 14 @Override
15 15 protected @NotNull void encodeNonNull( CharSink pCharSink, String pValue )
16 16 {
17 - IntegerTypedTerminatingCodec.NonNegativePrimitive.INSTANCE.encode( pCharSink, pValue.length() );
17 + IntegerTypedTerminatingCodec.NON_NEGATIVE.encode( pCharSink, pValue.length() );
18 18 for ( int i = 0; i < pValue.length(); i++ )
19 19 {
20 20 pCharSink.add( pValue.charAt( i ) );
  @@ -24,7 +24,7 @@
24 24 @Override
25 25 protected @NotNull String decodeNonNull( CharSource pCharSource )
26 26 {
27 - int zLength = IntegerTypedTerminatingCodec.NonNegativePrimitive.INSTANCE.decode( pCharSource );
27 + int zLength = IntegerTypedTerminatingCodec.NON_NEGATIVE.decode( pCharSource );
28 28 if ( zLength == 0 )
29 29 {
30 30 return "";