Skip to content

Commit

Permalink
chore: add new architectural rule (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus authored and surli committed Jun 2, 2017
1 parent c226a61 commit f889c25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@
<!-- Checks for class design -->
<!-- See http://checkstyle.sf.net/config_design.html -->
<module name="InterfaceIsType"/>
<module name="HideUtilityClassConstructor"/>
</module>
</module>
2 changes: 2 additions & 0 deletions src/main/java/spoon/refactoring/Refactoring.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
* Contains all methods to refactor code elements in the AST.
*/
public final class Refactoring {
private Refactoring() { }

/**
* Changes name of a type element.
*
Expand Down

0 comments on commit f889c25

Please sign in to comment.