Permalink
Browse files

Run intellij code clean up

  • Loading branch information...
benfortuna committed Jun 30, 2016
1 parent 5c78e49 commit 716cab40c133acf7f5abf1d467249b50d6941ab0
@@ -78,7 +78,7 @@ protected boolean factorySupports(ParameterFactory factory, String key) {
*/
public Parameter createParameter(final String name, final String value)
throws URISyntaxException {
- final ParameterFactory factory = (ParameterFactory) getFactory(name);
+ final ParameterFactory factory = getFactory(name);
Parameter parameter;
if (factory != null) {
parameter = factory.createParameter(value);
@@ -95,7 +95,7 @@ public Property createProperty(final String name,
final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
- final PropertyFactory factory = (PropertyFactory) getFactory(name);
+ final PropertyFactory factory = getFactory(name);
if (factory != null) {
return factory.createProperty(parameters, value);
} else if (isExperimentalName(name)) {

0 comments on commit 716cab4

Please sign in to comment.