ervandew/eclim — pull request #159 by Revolt (2012-09-29 11:53:38+00:00)
Title: Wrong function name: refreshBundles -> resolveBundles

Got a compilation error when compiling the current code on git:
[javac] org.eclim/java/org/eclim/command/ReloadCommand.java:52: error: method
refreshBundles in interface FrameworkWiring cannot be applied to given types;
[javac] framework.refreshBundles(bundles);
[javac] ^
[javac] required: Collection,FrameworkListener[]
[javac] found: ArrayList
[javac] reason: actual and formal argument lists differ in length

According to the javadocs for osgi version 4.3 and 5 (the ones containing the
FrameworkWiring class), the correct function to call with just a
Collection is resolveBundles(Collection)

Reference:
OSGI v5: http://www.osgi.org/javadoc/r5/core/org/osgi/framework/wiring/FrameworkWiring.html
OSGI v4.3: http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/wiring/FrameworkWiring.html

Tested it on my machine and it was able to compile.