diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 7a2a607e..4a95a136 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar diff --git a/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/plugin/PMDPlugin.java b/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/plugin/PMDPlugin.java index 2b8a5a8b..026f778f 100644 --- a/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/plugin/PMDPlugin.java +++ b/net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/plugin/PMDPlugin.java @@ -253,16 +253,16 @@ public void fileChangeListenerEnabled(boolean flag) { * @return view */ public static IViewPart getView(String id) { - IViewReference[] viewReferences = PlatformUI.getWorkbench() - .getActiveWorkbenchWindow().getActivePage().getViewReferences(); - for (int i = 0; i < viewReferences.length; i++) { - if (id.equals(viewReferences[i].getId())) { - return viewReferences[i].getView(false); - } - } - return null; - } - + IViewReference[] viewReferences = PlatformUI.getWorkbench() + .getActiveWorkbenchWindow().getActivePage().getViewReferences(); + for (int i = 0; i < viewReferences.length; i++) { + if (id.equals(viewReferences[i].getId())) { + return viewReferences[i].getView(false); + } + } + return null; + } + /** * refresh a view to the id passed in. * diff --git a/pom.xml b/pom.xml index 88e8f89d..c60f6337 100644 --- a/pom.xml +++ b/pom.xml @@ -19,12 +19,12 @@ 1.8 - 4.0.4 + 4.0.6 UTF-8 7.0.0-SNAPSHOT 23-SNAPSHOT - 10.7.0 - 3.2.2 + 10.14.0 + 3.3.1 3.21.2 7.0.0-rc4 @@ -181,7 +181,7 @@ org.apache.maven.plugins maven-clean-plugin - 3.2.0 + 3.3.2 org.apache.maven.plugins @@ -191,17 +191,17 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.3.0 + 3.4.1 org.apache.maven.plugins maven-failsafe-plugin - 3.0.0-M8 + 3.2.5 org.apache.maven.plugins maven-install-plugin - 3.1.0 + 3.1.1 org.apache.maven.plugins @@ -211,12 +211,12 @@ org.apache.maven.plugins maven-site-plugin - 4.0.0-M8 + 4.0.0-M13 org.apache.maven.plugins maven-surefire-plugin - 3.1.0 + 3.2.5 org.eclipse.tycho