From e311d96b41a8f6acab6bde117bb1986fb809c705 Mon Sep 17 00:00:00 2001 From: Rahul Krishna Date: Mon, 2 Dec 2024 20:44:39 -0500 Subject: [PATCH] Fix issue #79 Signed-off-by: Rahul Krishna --- gradle.properties | 2 +- src/main/java/com/ibm/cldk/CodeAnalyzer.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 71a5aa4..4659c12 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -version=1.0.6 +version=1.0.7 diff --git a/src/main/java/com/ibm/cldk/CodeAnalyzer.java b/src/main/java/com/ibm/cldk/CodeAnalyzer.java index 0ee54dc..a2fc899 100644 --- a/src/main/java/com/ibm/cldk/CodeAnalyzer.java +++ b/src/main/java/com/ibm/cldk/CodeAnalyzer.java @@ -19,8 +19,6 @@ import com.ibm.cldk.entities.JavaCompilationUnit; import com.ibm.cldk.utils.BuildProject; import com.ibm.cldk.utils.Log; -import com.ibm.wala.ipa.callgraph.CallGraphBuilderCancelException; -import com.ibm.wala.ipa.cha.ClassHierarchyException; import org.apache.commons.lang3.tuple.Pair; import picocli.CommandLine; import picocli.CommandLine.Command; @@ -40,7 +38,7 @@ class VersionProvider implements CommandLine.IVersionProvider { - public String[] getVersion() throws Exception { + public String[] getVersion() { String version = getClass().getPackage().getImplementationVersion(); return new String[]{ version != null ? version : "unknown" }; }