Skip to content

Commit

Permalink
HSEARCH-1049 Apply conventional to pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Mar 20, 2012
1 parent 62ba44b commit 2a65054
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -243,8 +243,9 @@ protected void checkDocumentId(XProperty member, PropertiesMetadata propertiesMe
NumericField numericFieldAnn = member.getAnnotation( NumericField.class );
if ( idAnnotation != null ) {
String attributeName = getIdAttributeName( member, idAnnotation );
if ( pathsContext != null )
if ( pathsContext != null ) {
pathsContext.markEncounteredPath( prefix + attributeName );
}
if ( isRoot ) {
if ( explicitDocumentId ) {
throw new SearchException( "More than one @DocumentId specified on entity " + getBeanClass().getName() );
Expand Down

0 comments on commit 2a65054

Please sign in to comment.