keith-turner commented on issue #1285: Lexicoder API improvements
URL: https://github.com/apache/accumulo/pull/1285#issuecomment-514235362
 
 
   I compiled the following program against 1.9.3 
   
   ```java
   package cmd;
   
   import org.apache.accumulo.core.client.lexicoder.IntegerLexicoder;
   
   public class Example {
     public static void main(String[] args) throws Exception {
       IntegerLexicoder il = new IntegerLexicoder();
       
       byte[] data = il.encode(42);
       
       System.out.println(il.decode(data));
       
     }
   }
   ```
   
   Then I tried to run it against this branch and saw the following
   
   ```
   Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.accumulo.core.client.lexicoder.IntegerLexicoder.decode([B)Ljava/lang/Integer;
        at cmd.Example.main(Example.java:11)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to