Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Conversation

@max-mironov
Copy link
Contributor

for (Method method : methods) {
if (method.getName().equals("createFileLoader")) {
String createFileLoaderMethodName = latestJSBundleFile.toLowerCase().startsWith("assets://")
? "createAssetLoader" : "createFileLoader";
Copy link
Contributor

@AndrewJack AndrewJack May 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid assigning inside the loop.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndrewJack - thanks for pointing at this, added commit to fix this.

@sergey-akhalkov sergey-akhalkov merged commit b8bd4a0 into microsoft:master Jun 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants