Commit 8f216310df08916db11eb9b3ee705e4e407238b9

Authored by Cleverson Sacramento
1 parent 83dfa45b
Exists in master

Resolvendo a advertência do Sonar: Modificador 'public' é redundante

impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/Priority.java
@@ -53,12 +53,12 @@ public @interface Priority { @@ -53,12 +53,12 @@ public @interface Priority {
53 /** 53 /**
54 * Most important priority value. 54 * Most important priority value.
55 */ 55 */
56 - public static int MAX_PRIORITY = Integer.MIN_VALUE; 56 + static int MAX_PRIORITY = Integer.MIN_VALUE;
57 57
58 /** 58 /**
59 * Less important priority value. 59 * Less important priority value.
60 */ 60 */
61 - public static int MIN_PRIORITY = Integer.MAX_VALUE; 61 + static int MIN_PRIORITY = Integer.MAX_VALUE;
62 62
63 /** 63 /**
64 * An integer value defines the priority order. 64 * An integer value defines the priority order.
impl/core/src/main/java/br/gov/frameworkdemoiselle/configuration/Configuration.java
@@ -73,7 +73,7 @@ public @interface Configuration { @@ -73,7 +73,7 @@ public @interface Configuration {
73 /** 73 /**
74 * Define the default resource. 74 * Define the default resource.
75 */ 75 */
76 - public static final String DEFAULT_RESOURCE = "demoiselle"; 76 + static final String DEFAULT_RESOURCE = "demoiselle";
77 77
78 /** 78 /**
79 * Defines the resource type to be used: a properties file, an XML file, or system variables. 79 * Defines the resource type to be used: a properties file, an XML file, or system variables.
impl/extension/jsf/src/main/java/br/gov/frameworkdemoiselle/template/EditPageBean.java
@@ -38,15 +38,15 @@ package br.gov.frameworkdemoiselle.template; @@ -38,15 +38,15 @@ package br.gov.frameworkdemoiselle.template;
38 38
39 public interface EditPageBean<T> extends PageBean { 39 public interface EditPageBean<T> extends PageBean {
40 40
41 - public String delete(); 41 + String delete();
42 42
43 - public T getBean(); 43 + T getBean();
44 44
45 - public Object getId(); 45 + Object getId();
46 46
47 - public String insert(); 47 + String insert();
48 48
49 - public boolean isUpdateMode(); 49 + boolean isUpdateMode();
50 50
51 - public String update(); 51 + String update();
52 } 52 }
53 \ No newline at end of file 53 \ No newline at end of file
impl/extension/jsf/src/main/java/br/gov/frameworkdemoiselle/template/PageBean.java
@@ -40,11 +40,11 @@ import java.io.Serializable; @@ -40,11 +40,11 @@ import java.io.Serializable;
40 40
41 public interface PageBean extends Serializable { 41 public interface PageBean extends Serializable {
42 42
43 - public String getCurrentView(); 43 + String getCurrentView();
44 44
45 - public String getNextView(); 45 + String getNextView();
46 46
47 - public String getPreviousView(); 47 + String getPreviousView();
48 48
49 - public String getTitle(); 49 + String getTitle();
50 } 50 }