HHH-11250 - Fixed NullPointerException when defined filter name contains a dot.
This commit is contained in:
parent
1d294cb23d
commit
7e160d7b49
|
@ -139,7 +139,7 @@ public class LoadQueryInfluencers implements Serializable {
|
|||
}
|
||||
|
||||
public static String[] parseFilterParameterName(String filterParameterName) {
|
||||
int dot = filterParameterName.indexOf( '.' );
|
||||
int dot = filterParameterName.lastIndexOf( '.' );
|
||||
if ( dot <= 0 ) {
|
||||
throw new IllegalArgumentException( "Invalid filter-parameter name format" );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue