tristanzhou e8a9b60862 Introduction to pmd (#972)
* initial check for introduction to pmd

* change name to static-analysis

* move it to static-analysis
2017-01-08 04:21:03 -06:00

13 lines
186 B
Java

package com.baeldung.pmd;
public class Cnt {
public int d(int a, int b) {
if (b == 0)
return Integer.MAX_VALUE;
else
return a / b;
}
}