Skip to content

Commit 4973658

Browse files
committed
suppress useless warnings
1 parent 124cb3e commit 4973658

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/openapiprocessor/maven/ProcessMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/**
2323
* run an openapi-processor.
2424
*/
25+
@SuppressWarnings({"DefaultAnnotationParam", "unused"})
2526
@Mojo (name = "process", defaultPhase = LifecyclePhase.GENERATE_SOURCES)
2627
public class ProcessMojo extends AbstractMojo {
2728
public static final String API_PATH = "apiPath";
@@ -113,7 +114,7 @@ private String joinDirs (CharSequence... directories) {
113114
return String.join(File.separator, directories);
114115
}
115116

116-
private Map<String, Object> createProperties () throws MojoExecutionException {
117+
private Map<String, Object> createProperties () {
117118
Map<String, Object> properties = new HashMap<> ();
118119

119120
addProperties (options, properties);
@@ -157,5 +158,4 @@ private void setApiPath (Map<String, Object> properties) {
157158
apiPath = new File((String) properties.get (API_PATH));
158159
}
159160
}
160-
161161
}

0 commit comments

Comments
 (0)