View Javadoc
1   import edu.umd.cs.findbugs.annotations.ExpectWarning;
2   
3   class AssumeUnsignedBytes {
4   
5       @ExpectWarning("INT")
6       int find200(byte[] b) {
7           for (int i = 0; i < b.length; i++)
8               if (b[i] == 200)
9                   return i;
10          return -1;
11      }
12  }