← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 500: Updated to itext 2.0.6.

 

------------------------------------------------------------
revno: 500
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-08-24 14:00:28 +0200
message:
  Updated to itext 2.0.6.
modified:
  dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/PDFUtils.java
  dhis-2/pom.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/PDFUtils.java'
--- dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/PDFUtils.java	2009-03-03 16:46:36 +0000
+++ dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/PDFUtils.java	2009-08-24 12:00:28 +0000
@@ -85,14 +85,7 @@
      */
     public static void startNewPage( Document document )
     {
-        try
-        {
-            document.newPage();
-        }
-        catch ( DocumentException ex )
-        {
-            throw new RuntimeException( "Failed to start new page", ex );
-        }
+        document.newPage();
     }
     
     /**
@@ -144,14 +137,7 @@
      */
     public static void moveToNewPage( Document document )
     {
-        try
-        {
-            document.newPage();
-        }
-        catch ( DocumentException ex )
-        {
-            throw new RuntimeException( "Failed to move to new page", ex );
-        }
+        document.newPage();
     }
 
     /**

=== modified file 'dhis-2/pom.xml'
--- dhis-2/pom.xml	2009-08-20 08:17:49 +0000
+++ dhis-2/pom.xml	2009-08-24 12:00:28 +0000
@@ -289,7 +289,7 @@
       <dependency>
         <groupId>com.lowagie</groupId>
         <artifactId>itext</artifactId>
-        <version>1.4.8</version>
+        <version>2.0.6</version>
       </dependency>
       <dependency>
         <groupId>org.springframework</groupId>