Skip to content

Commit

Permalink
HSEARCH-2872 Remove IndexedTypeMap#put(Class, value)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Sep 13, 2017
1 parent 630560e commit 2d0be58
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Expand Up @@ -54,14 +54,6 @@ public interface IndexedTypeMap<V> {
@Deprecated
V get(Class<?> legacyPojoClass);

/**
* @deprecated This method will be removed. The implementations will be refactored to become immutable.
* @param type The key to be used.
* @param typeBinding The value being put in the underlying key/value map.
*/
@Deprecated
void put(Class<?> type, V typeBinding);

/**
* Returns a type identified by its unique name.
* This method returns instance from a pool of known types,
Expand Down
Expand Up @@ -87,11 +87,6 @@ public void put(IndexedTypeIdentifier type, V value) {
map.put( type, value );
}

@Override
public void put(Class<?> type, V typeBinding) {
put( new PojoIndexedTypeIdentifier( type ), typeBinding );
}

@Override
public IndexedTypeIdentifier keyFromName(String entityClassName) {
if ( entityClassName == null ) {
Expand Down

0 comments on commit 2d0be58

Please sign in to comment.