Skip to content

Commit

Permalink
use tomcat 7.0.39
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk@1461858 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
olamy committed Mar 27, 2013
1 parent 81757c3 commit e83424b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -73,7 +73,7 @@
<its.ajp.port>2001</its.ajp.port>
<!-- server port for it tests -->
<its.server.port>2008</its.server.port>
<tomcat7Version>7.0.37</tomcat7Version>
<tomcat7Version>7.0.39</tomcat7Version>

<!-- to prevent isssues with last apache parent pom -->
<arguments />
Expand Down
Expand Up @@ -466,11 +466,27 @@ private URL getContextXml( String warPath )
}
finally
{
IOUtils.closeQuietly( inputStream );
closeQuietly( inputStream );
}
return null;
}

private static void closeQuietly( InputStream inputStream )
{
if ( inputStream == null )
{
return;
}
try
{
inputStream.close();
}
catch ( IOException e )
{
// ignore exception here
}
}

private void waitIndefinitely()
{
Object lock = new Object();
Expand Down

0 comments on commit e83424b

Please sign in to comment.