[java-decompiler] test data cleanup; warnings

This commit is contained in:
Roman Shevchenko
2016-03-18 18:02:33 +01:00
parent 1359577355
commit 93a39b7b50
18 changed files with 53 additions and 116 deletions

View File

@@ -1,29 +1,20 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package pkg;
public class TestClassFields {
private static class Inner {
private static int staticMutable;
}
static int staticMutable;
private static int[] sizes;
private static String[] names;
static {
private static final int SIZE;
static {
names = new String[]{"name1", "name2"};
sizes = new int[names.length];
Inner.staticMutable = 3;
SIZE = Inner.staticMutable;
}
}
}