Skip to content

Commit

Permalink
Update PMD version - except on travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoellnitz committed Mar 6, 2017
1 parent 89c956d commit 1e7c343
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,8 @@ public <T extends Content> T createBean(Class<T> cls) throws InstantiationExcept
beginTransaction();

LOG.debug("createBean() creating new instance of {}", cls.getName());
T bean = cls.newInstance();

statistics.increase("create bean");
return bean;
return cls.newInstance();
} // createBean()


Expand Down

0 comments on commit 1e7c343

Please sign in to comment.