This is an automated email from the ASF dual-hosted git repository.

stbischof pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git

commit 0c287db32303c9c4c047dcb98d512e7aee05a5ea
Author: Paul Rütter <[email protected]>
AuthorDate: Thu May 30 14:08:11 2024 +0200

    Fix error with conversion
---
 .../src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
 
b/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
index 42dd7a16cc..bb0f3028c8 100644
--- 
a/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
+++ 
b/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
@@ -323,7 +323,7 @@ public class ManifestPlugin extends BundlePlugin
         else
         {
             // FELIX-6495: workaround BND inconsistency: internal jar does not 
take "-reproducible" flag into account...
-            analyzer.getJar().setReproducible( "true".equals( 
analyzer.getProperties().getProperty( Constants.REPRODUCIBLE ) ) );
+            
analyzer.getJar().setReproducible(analyzer.getProperties().getProperty( 
Constants.REPRODUCIBLE ) );
 
             analyzer.mergeManifest( analyzer.getJar().getManifest() );
             analyzer.getJar().setManifest( analyzer.calcManifest() );

Reply via email to