protected void mergeExclusion_ArtifactId( Exclusion target, Exclusion source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArtifactId(); if ( src != null ) { if ( sourceDominant || target.getArtifactId() == null ) { target.setArtifactId( src ); target.setLocation( "artifactId", source.getLocation( "artifactId" ) ); } } }
protected void mergeExclusion_GroupId( Exclusion target, Exclusion source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getGroupId(); if ( src != null ) { if ( sourceDominant || target.getGroupId() == null ) { target.setGroupId( src ); target.setLocation( "groupId", source.getLocation( "groupId" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); exclusion.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) exclusion.setLocation( "artifactId", _location ); exclusion.setArtifactId( interpolatedTrimmed( parser.nextText(), "artifactId" ) ); exclusion.setLocation( "groupId", _location ); exclusion.setGroupId( interpolatedTrimmed( parser.nextText(), "groupId" ) );
protected void mergeExclusion_GroupId( Exclusion target, Exclusion source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getGroupId(); if ( src != null ) { if ( sourceDominant || target.getGroupId() == null ) { target.setGroupId( src ); target.setLocation( "groupId", source.getLocation( "groupId" ) ); } } }
protected void mergeExclusion_ArtifactId( Exclusion target, Exclusion source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArtifactId(); if ( src != null ) { if ( sourceDominant || target.getArtifactId() == null ) { target.setArtifactId( src ); target.setLocation( "artifactId", source.getLocation( "artifactId" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); exclusion.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) exclusion.setLocation( "artifactId", _location ); exclusion.setArtifactId( getTrimmedValue( parser.nextText() ) ); exclusion.setLocation( "groupId", _location ); exclusion.setGroupId( getTrimmedValue( parser.nextText() ) );