@@ -84,9 +84,6 @@ public class TypeShed {
84
84
private static final Map <String , Set <Symbol >> builtinGlobalSymbols = new HashMap <>();
85
85
private static final Set <String > modulesInProgress = new HashSet <>();
86
86
87
- private static final String STDLIB_2AND3 = "typeshed/stdlib/2and3/" ;
88
- private static final String STDLIB_2 = "typeshed/stdlib/2/" ;
89
- private static final String STDLIB_3 = "typeshed/stdlib/3/" ;
90
87
private static final String THIRD_PARTY_2AND3 = "typeshed/third_party/2and3/" ;
91
88
private static final String THIRD_PARTY_2 = "typeshed/third_party/2/" ;
92
89
private static final String THIRD_PARTY_3 = "typeshed/third_party/3/" ;
@@ -211,15 +208,6 @@ private static Set<Symbol> searchTypeShedForModule(String moduleName) {
211
208
modulesInProgress .remove (moduleName );
212
209
return customSymbols ;
213
210
}
214
- Set <Symbol > standardLibrarySymbols = new HashSet <>(getModuleSymbols (moduleName , STDLIB_2AND3 , builtinGlobalSymbols ).values ());
215
- if (standardLibrarySymbols .isEmpty ()) {
216
- standardLibrarySymbols = commonSymbols (getModuleSymbols (moduleName , STDLIB_2 , builtinGlobalSymbols ),
217
- getModuleSymbols (moduleName , STDLIB_3 , builtinGlobalSymbols ), moduleName );
218
- }
219
- if (!standardLibrarySymbols .isEmpty ()) {
220
- modulesInProgress .remove (moduleName );
221
- return standardLibrarySymbols ;
222
- }
223
211
Set <Symbol > thirdPartySymbols = new HashSet <>(getModuleSymbols (moduleName , THIRD_PARTY_2AND3 , builtinGlobalSymbols ).values ());
224
212
if (thirdPartySymbols .isEmpty ()) {
225
213
thirdPartySymbols = commonSymbols (getModuleSymbols (moduleName , THIRD_PARTY_2 , builtinGlobalSymbols ),
0 commit comments