-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HV-912 Reducing accessibility of some classes and methods
- Loading branch information
1 parent
c489416
commit fd4eaed
Showing
28 changed files
with
58 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ | |
* @author Kevin Pollet <[email protected]> (C) 2011 SERLI | ||
* @author Gunnar Morling | ||
*/ | ||
public class ExecutableConstraintMappingContextImpl | ||
class ExecutableConstraintMappingContextImpl | ||
implements ConstructorConstraintMappingContext, MethodConstraintMappingContext { | ||
|
||
private static final Log log = LoggerFactory.make(); | ||
|
@@ -60,11 +60,11 @@ public class ExecutableConstraintMappingContextImpl | |
private ReturnValueConstraintMappingContextImpl returnValueContext; | ||
private CrossParameterConstraintMappingContextImpl crossParameterContext; | ||
|
||
public ExecutableConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Constructor<?> constructor) { | ||
ExecutableConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Constructor<?> constructor) { | ||
this( typeContext, ExecutableElement.forConstructor( constructor ) ); | ||
} | ||
|
||
public ExecutableConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Method method) { | ||
ExecutableConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Method method) { | ||
this( typeContext, ExecutableElement.forMethod( method ) ); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,14 +38,14 @@ | |
* @author Gunnar Morling | ||
* @author Kevin Pollet <[email protected]> (C) 2011 SERLI | ||
*/ | ||
public final class ParameterConstraintMappingContextImpl | ||
final class ParameterConstraintMappingContextImpl | ||
extends CascadableConstraintMappingContextImplBase<ParameterConstraintMappingContext> | ||
implements ParameterConstraintMappingContext { | ||
|
||
private final ExecutableConstraintMappingContextImpl executableContext; | ||
private final int parameterIndex; | ||
|
||
public ParameterConstraintMappingContextImpl(ExecutableConstraintMappingContextImpl executableContext, int parameterIndex) { | ||
ParameterConstraintMappingContextImpl(ExecutableConstraintMappingContextImpl executableContext, int parameterIndex) { | ||
super( executableContext.getTypeContext().getConstraintMapping() ); | ||
|
||
this.executableContext = executableContext; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,14 +41,14 @@ | |
* @author Gunnar Morling | ||
* @author Kevin Pollet <[email protected]> (C) 2011 SERLI | ||
*/ | ||
public final class PropertyConstraintMappingContextImpl | ||
final class PropertyConstraintMappingContextImpl | ||
extends CascadableConstraintMappingContextImplBase<PropertyConstraintMappingContext> | ||
implements PropertyConstraintMappingContext { | ||
|
||
private final TypeConstraintMappingContextImpl<?> typeContext; | ||
private final Member member; | ||
|
||
public PropertyConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Member member) { | ||
PropertyConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, Member member) { | ||
super( typeContext.getConstraintMapping() ); | ||
this.typeContext = typeContext; | ||
this.member = member; | ||
|
@@ -99,7 +99,7 @@ public MethodConstraintMappingContext method(String name, Class<?>... parameterT | |
return typeContext.method( name, parameterTypes ); | ||
} | ||
|
||
public ConstrainedElement build(ConstraintHelper constraintHelper) { | ||
ConstrainedElement build(ConstraintHelper constraintHelper) { | ||
if ( member instanceof Field ) { | ||
return new ConstrainedField( | ||
ConfigurationSource.API, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,13 +31,13 @@ | |
* @author Gunnar Morling | ||
* @author Kevin Pollet <[email protected]> (C) 2011 SERLI | ||
*/ | ||
public final class ReturnValueConstraintMappingContextImpl | ||
final class ReturnValueConstraintMappingContextImpl | ||
extends CascadableConstraintMappingContextImplBase<ReturnValueConstraintMappingContext> | ||
implements ReturnValueConstraintMappingContext { | ||
|
||
private final ExecutableConstraintMappingContextImpl executableContext; | ||
|
||
public ReturnValueConstraintMappingContextImpl(ExecutableConstraintMappingContextImpl executableContext) { | ||
ReturnValueConstraintMappingContextImpl(ExecutableConstraintMappingContextImpl executableContext) { | ||
super( executableContext.getTypeContext().getConstraintMapping() ); | ||
this.executableContext = executableContext; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.