system/src/sc/lang/js/JSRuntimeProcessor.java
private void removeEntryPoints(String typeName) {
      if (entryPointsFrozen) {
         return;
      }
      Iterator<Map.Entry<EntryPoint,EntryPoint>> eps = jsBuildInfo.entryPoints.entrySet().iterator();
      while (eps.hasNext()) {
         Map.Entry<EntryPoint,EntryPoint> ep = eps.next();
         String epTypeName = ep.getValue().typeName;
         if (epTypeName != null && epTypeName.equals(typeName))
            eps.remove();
      }
   }
// have more than one entryPoint for the same type but it makes this method slow and awkward.
have more than one entryPoint for the same type but it makes this method slow and awkward.
have more than one entryPoint for the same type but it makes this method slow and awkward .
private void removeEntryPoints(String typeName) {
      if (entryPointsFrozen) {
         return;
      }
      Iterator<Map.Entry<EntryPoint,EntryPoint>> eps = jsBuildInfo.entryPoints.entrySet().iterator();
      while (eps.hasNext()) {
         Map.Entry<EntryPoint,EntryPoint> ep = eps.next();
         String epTypeName = ep.getValue().typeName;
         if (epTypeName != null && epTypeName.equals(typeName))
            eps.remove();
      }
   }
private void removeEntryPoints ( String typeName ) { if ( entryPointsFrozen ) { return ; } Iterator < Map . Entry < EntryPoint , EntryPoint > > eps = jsBuildInfo . entryPoints . entrySet ( ) . iterator ( ) ; while ( eps . hasNext ( ) ) { Map . Entry < EntryPoint , EntryPoint > ep = eps . next ( ) ; String epTypeName = ep . getValue ( ) . typeName ; if ( epTypeName != null && epTypeName . equals ( typeName ) ) eps . remove ( ) ; } }
have more than one entryPoint for the same type but it makes this method slow and awkward.
have more than one entryPoint for the same type but it makes this method slow and awkward .