/platform-style-test/src/main/java/Test.java
Java | 21 lines | 16 code | 5 blank | 0 comment | 2 complexity | b0c50a0d91e4085138a06c1cbb80048e MD5 | raw file
Possible License(s): LGPL-2.1
- import java.util.Collection;
- import java.util.Collections;
- import javax.naming.InvalidNameException;
- import com.atlassian.A;
- import com.othercompany.B;
- import static com.atlassian.A.ONE;
- import static java.lang.Math.PI;
- public class Test
- {
- public void methodToUseImportedItems() throws InvalidNameException
- {
- Collection<?> x = Collections.singletonList(PI);
- assert PI != ONE;
- assert (Class) A.class != (Class) B.class;
- }
- }