Skip to content

Commit

Permalink
Removed deprecated non-static methods from LobTypeMappings and Nation…
Browse files Browse the repository at this point in the history
…alizedTypeMappings

Signed-off-by: Jan Schatteman <[email protected]>
  • Loading branch information
jrenaat authored and sebersole committed Mar 9, 2022
1 parent 8e068d7 commit 7931e9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,9 @@
*/
public final class LobTypeMappings {

/**
* Singleton access
* @deprecated use the static method helpers instead.
*/
@Deprecated
public static final LobTypeMappings INSTANCE = new LobTypeMappings();

private LobTypeMappings() {
}

/**
* @return true if corresponding Lob code exists; false otherwise.
* @deprecated use {@link #isMappedToKnownLobCode(int)}
*/
@Deprecated
public boolean hasCorrespondingLobCode(final int jdbcTypeCode) {
return isMappedToKnownLobCode( jdbcTypeCode );
}

/**
* @return corresponding Lob code
* @deprecated use {@link #getLobCodeTypeMapping(int)}
*/
@Deprecated
public int getCorrespondingLobCode(final int jdbcTypeCode) {
return getLobCodeTypeMapping( jdbcTypeCode );
}

public static boolean isMappedToKnownLobCode(final int jdbcTypeCode) {
return
// BLOB mappings
Expand Down Expand Up @@ -98,5 +73,4 @@ public static int getLobCodeTypeMapping(final int jdbcTypeCode) {
) );
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ public final class NationalizedTypeMappings {

private static final Logger log = Logger.getLogger( NationalizedTypeMappings.class );

/**
* Singleton access
* @deprecated use the static methods instead
*/
@Deprecated
public static final NationalizedTypeMappings INSTANCE = new NationalizedTypeMappings();

private NationalizedTypeMappings() {
}

Expand All @@ -46,15 +39,4 @@ public static int toNationalizedTypeCode(final int jdbcCode) {
return jdbcCode;
}
}

/**
* @deprecated use {@link #toNationalizedTypeCode(int)}
*
* @return corresponding nationalized code
*/
@Deprecated
public int getCorrespondingNationalizedCode(int jdbcCode) {
return toNationalizedTypeCode( jdbcCode );
}

}

0 comments on commit 7931e9c

Please sign in to comment.