Skip to content

Commit

Permalink
Additional PMD ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Sep 19, 2015
1 parent 6b6454a commit b305bb3
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -47,6 +47,7 @@
*
* @author John May
*/
@SuppressWarnings("PMD.ShortVariable")
public abstract class Depiction {

/**
Expand Down Expand Up @@ -239,7 +240,7 @@ public final void writeTo(String fmt, String path) throws IOException {
public final void writeTo(String path) throws IOException {
final int i = path.lastIndexOf(DOT);
if (i < 0 || i + 1 == path.length())
throw new IOException("Can not find suffix in provided path: " + path);
throw new IOException("Cannot find suffix in provided path: " + path);
final String fmt = path.substring(i + 1);
writeTo(fmt, path);
}
Expand Down

0 comments on commit b305bb3

Please sign in to comment.