import com.esri.ags.layers.FeatureLayer; FeatureLayer;
Lefteris, That line and the line above are leftover form some development/testing. There are times when you can do something similar to this in development and it will have a purpose. Here is an example:import com.esri.ags.layers.FeatureLayer; FeatureLayer; This forces the compiler to use the import without warning that it is not used. This is sometimes needed in the parent component of another component to prevent a memory leak issue (if you receive a warning about this possible memory leak issue). We can see this in a viewer file called ForcedImports.asI am working on a 3.6.2 release this week, so thanks for letting me know about this.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.