test for Cls parsing duplicates

This commit is contained in:
Alexey Kudravtsev
2013-11-20 20:06:42 +04:00
parent a6f5b9e8d6
commit a8ebab2069
2 changed files with 101 additions and 2 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
* Copyright 2000-2013 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.
@@ -53,7 +53,7 @@ public class JavaTestUtil {
});
}
private static Sdk getTestJdk() {
public static Sdk getTestJdk() {
try {
ProjectJdkImpl jdk = (ProjectJdkImpl)JavaAwareProjectJdkTableImpl.getInstanceEx().getInternalJdk().clone();
jdk.setName("JDK");