Skip to content

Commit

Permalink
squid:S2974 Classes without 'public' constructors should be 'final'
Browse files Browse the repository at this point in the history
squid:S1488
 Local Variables should not be declared and then immediately returned or thrown
  • Loading branch information
zeeshanasghar committed Mar 17, 2016
1 parent 72d3708 commit f235816
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* @author markzhai on 2015/9/25.
*/
public class BlockCanary {
public final class BlockCanary {

private static final String TAG = "BlockCanary";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* @author markzhai on 15/9/27.
*/
public class Block {
public final class Block {

private static final String TAG = "Block";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* No-op implementation.
*/
public class BlockCanary {
public final class BlockCanary {

private static BlockCanary sInstance = null;

Expand Down

0 comments on commit f235816

Please sign in to comment.