HHH-11250 - Fixed NullPointerException when defined filter name contains a dot.

This commit is contained in:
Chris Cranford 2016-11-16 13:09:14 -05:00
parent 1d294cb23d
commit 7e160d7b49
1 changed files with 1 additions and 1 deletions

View File

@ -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" );
}