Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

ClassPathResource factory and JarResource Factory #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

projsaha
Copy link
Contributor

@projsaha projsaha commented Jun 8, 2014

No description provided.

@buildhive
Copy link

OpenNTF » JavascriptAggregator #417 SUCCESS
This pull request looks good
(what's this?)

*/
public ClassPathResource(String entry, List<String> entries) {
zipEntryUri = entry;
zipFileEntries = (ArrayList<String>) entries;
Copy link
Contributor

Choose a reason for hiding this comment

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

This is dangerous. If you need an ArrayList, then create a copy of the list instead of casting it. Otherwise, just declare the type of entries to be an ArrayList so that only ArrayLists can be passed in.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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