You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2019/05/30 21:11:16 UTC

[creadur-rat] branch RAT-244/migratedToJDK7 updated: RAT-244: Fix compilation issue after refactoring

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

pottlinger pushed a commit to branch RAT-244/migratedToJDK7
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


The following commit(s) were added to refs/heads/RAT-244/migratedToJDK7 by this push:
     new fbe7339  RAT-244: Fix compilation issue after refactoring
fbe7339 is described below

commit fbe733961908dca48b939eee4035ad858c776b2e
Author: Hugo Hirsch <gi...@hugo-hirsch.de>
AuthorDate: Thu May 30 23:11:00 2019 +0200

    RAT-244: Fix compilation issue after refactoring
---
 apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java b/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java
index a943ec3..ca457a2 100644
--- a/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java
+++ b/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java
@@ -152,8 +152,8 @@ public class ReportTest extends AbstractRatAntTaskTest {
         buildRule.executeTarget("testISO88591WithReportFile");
         overrideFileEncoding(origEncoding);
         DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+        boolean documentParsed = false;
         try (FileInputStream fis = new FileInputStream(selftestOutput)) {
-            boolean documentParsed = false;
             Document doc = db.parse(fis);
             boolean byteSequencePresent = doc.getElementsByTagName("header-sample")
                     .item(0)