[seam-commits] Seam SVN: r7621 - branches/Seam_2_0/src/pdf/org/jboss/seam/pdf/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Mar 18 18:14:01 EDT 2008


Author: norman.richards at jboss.com
Date: 2008-03-18 18:14:01 -0400 (Tue, 18 Mar 2008)
New Revision: 7621

Modified:
   branches/Seam_2_0/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java
Log:
JBSEAM-2593

Modified: branches/Seam_2_0/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java
===================================================================
--- branches/Seam_2_0/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java	2008-03-18 22:12:25 UTC (rev 7620)
+++ branches/Seam_2_0/src/pdf/org/jboss/seam/pdf/ui/UIStroke.java	2008-03-18 22:14:01 UTC (rev 7621)
@@ -78,14 +78,14 @@
     }
     
     public int joinValue(String join) {
-        if (cap == null || cap.equalsIgnoreCase("miter")) {
+        if (join == null || join.equalsIgnoreCase("miter")) {
             return BasicStroke.JOIN_MITER;
-        } else if (cap.equalsIgnoreCase("round")) {
+        } else if (join.equalsIgnoreCase("round")) {
             return BasicStroke.JOIN_ROUND;
-        } else if (cap.equalsIgnoreCase("bevel")) {
+        } else if (join.equalsIgnoreCase("bevel")) {
             return BasicStroke.JOIN_BEVEL;
         }
-        throw new RuntimeException("invalid join value: " + cap);
+        throw new RuntimeException("invalid join value: " + join);
     }
     
 




More information about the seam-commits mailing list