You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@onami.apache.org by si...@apache.org on 2013/01/19 21:13:25 UTC
svn commit: r1435663 -
/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/annotation/Mock.java
Author: simonetripodi
Date: Sat Jan 19 20:13:24 2013
New Revision: 1435663
URL: http://svn.apache.org/viewvc?rev=1435663&view=rev
Log:
fixed "Redundant 'public' modifier." checkstyle rule
Modified:
incubator/onami/trunk/test/src/main/java/org/apache/onami/test/annotation/Mock.java
Modified: incubator/onami/trunk/test/src/main/java/org/apache/onami/test/annotation/Mock.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/annotation/Mock.java?rev=1435663&r1=1435662&r2=1435663&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/main/java/org/apache/onami/test/annotation/Mock.java (original)
+++ incubator/onami/trunk/test/src/main/java/org/apache/onami/test/annotation/Mock.java Sat Jan 19 20:13:24 2013
@@ -43,21 +43,21 @@ public @interface Mock
*
* @return the value
*/
- public boolean resetAfter() default true;
+ boolean resetAfter() default true;
/**
* The name of the method that provides to mock creation.
*
* @return
*/
- public String providedBy() default "";
+ String providedBy() default "";
/**
* The {@link Class} that contains the method {@link Mock#providedBy()}. By default: the filed declaring class.
*
* @return
*/
- public Class<?> providerClass() default Object.class;
+ Class<?> providerClass() default Object.class;
/**
* Specifies an annotaion {@link Class} that will be used in the <em>Google Guice</em> binder to execute the literal
@@ -65,7 +65,7 @@ public @interface Mock
*
* @return
*/
- public Class<?> annotatedWith() default NoAnnotation.class;
+ Class<?> annotatedWith() default NoAnnotation.class;
/**
* Specifies an {@link String} annotation that will be used in the <em>Google Guice</em> binder to execute the
@@ -73,13 +73,13 @@ public @interface Mock
*
* @return
*/
- public String namedWith() default "";
+ String namedWith() default "";
/**
* Specifies
*
* @return
*/
- public MockObjType type() default MockObjType.DEFAULT;
+ MockObjType type() default MockObjType.DEFAULT;
}