Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings #686

Merged
merged 2 commits into from
Jul 9, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ public void test() throws IOException
DataOutputStream ofile = new DataOutputStream(new FileOutputStream(theFile));

ofile.writeInt(0);

ofile.close();

/*
* Now create the threads.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public byte[] getBranchQualifier() {
return bqual;
}
});
fis.close();
}

public Xid[] recover(int flag) throws XAException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ private void createThreadDumps() {
createThreadDump(job.getName(), cmd);
}

scanner.close();
process.destroy();
} catch (IOException e) {
System.out.printf("ERROR CREATING THREAD DUMPS: %s\n", e.getMessage());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ public final String[] listInitialServices () throws IOException, SystemException
}
}
while (line != null);
input.close();
}

String[] completeServices = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public static void main(String[] args)
foundRecoveryPassed = true;
}
}
br.close();
}
catch (Exception ex)
{
Expand Down
1 change: 1 addition & 0 deletions qa/tests/src/org/jboss/jbossts/qa/junit/TaskImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ private void createThreadDumps() {
while(scanner.hasNextLine())
createThreadDump(scanner.nextLine());

scanner.close();
process.destroy();
} catch (IOException e) {
System.out.printf("%s ERROR CREATING THREAD DUMPS: %s%n", getTaskPrefix(), e.getMessage());
Expand Down
1 change: 0 additions & 1 deletion txbridge/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${version.org.apache.maven.plugins.maven-antrun-plugin}</version>
<executions>
<execution>
<id>create-disabled-context-propagation-configuration</id>
Expand Down