Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogblamecommitdiffstats
blob: b969cae83a372d91d8933fbb789e0c09d05cc10d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                               
	public int foo(int size, int max) {

		if (size < max) {
		try {
		size=(long)stream.available();
		} catch (IOException e) {

		}
		} else if (size == max) {
		++size;
		} else {
		--size;
		}
		return size;
	}

Back to the top