KeyUtil: Remove unused setEncoderImpl method
References to com.google.gwtorm.server.SchemaFactory in the method javadoc cause warnings in Eclipse because SchemaFactory does not exist any more. There are no callers of setEncoderImpl in the core Gerrit code, so we can just remove it. Change-Id: I1c13ff77ae659d3cd9671b99c5f703bebb8dac37
This commit is contained in:
@@ -18,18 +18,6 @@ package com.google.gwtorm.client;
|
||||
public class KeyUtil {
|
||||
private static Encoder ENCODER_IMPL = new StandardKeyEncoder();
|
||||
|
||||
/**
|
||||
* Set the encoder implementation to a valid implementation.
|
||||
*
|
||||
* <p>Server-side code needs to set the encoder to a {@link
|
||||
* com.google.gwtorm.server.StandardKeyEncoder} instance prior to invoking any methods in this
|
||||
* class. Typically this is done by the {@link com.google.gwtorm.server.SchemaFactory}
|
||||
* implementation's static initializer.
|
||||
*/
|
||||
public static void setEncoderImpl(final Encoder e) {
|
||||
ENCODER_IMPL = e;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if two keys are equal, supporting null references.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user