felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r821494 - /felix/trunk/shell/src/main/java/org/apache/felix/shell/impl/VersionCommandImpl.java
Date Sun, 04 Oct 2009 09:51:26 GMT
Author: rickhall
Date: Sun Oct  4 09:51:26 2009
New Revision: 821494

URL: http://svn.apache.org/viewvc?rev=821494&view=rev
Log:
Fix bug in getting version. (FELIX-1699)

Modified:
    felix/trunk/shell/src/main/java/org/apache/felix/shell/impl/VersionCommandImpl.java

Modified: felix/trunk/shell/src/main/java/org/apache/felix/shell/impl/VersionCommandImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/shell/src/main/java/org/apache/felix/shell/impl/VersionCommandImpl.java?rev=821494&r1=821493&r2=821494&view=diff
==============================================================================
--- felix/trunk/shell/src/main/java/org/apache/felix/shell/impl/VersionCommandImpl.java (original)
+++ felix/trunk/shell/src/main/java/org/apache/felix/shell/impl/VersionCommandImpl.java Sun
Oct  4 09:51:26 2009
@@ -50,6 +50,6 @@
 
     public void execute(String s, PrintStream out, PrintStream err)
     {
-        out.println(m_context.getBundle(0).getHeaders(Constants.BUNDLE_VERSION));
+        out.println(m_context.getBundle(0).getHeaders().get(Constants.BUNDLE_VERSION));
     }
 }
\ No newline at end of file



Mime
View raw message