]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Style only
authorJeremias Maerki <jeremias@apache.org>
Fri, 4 Jul 2003 19:59:40 +0000 (19:59 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 4 Jul 2003 19:59:40 +0000 (19:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196598 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/PropertyListBuilder.java

index c8feeae8121cd56ff1c949489b92b3ec4fb3a914..a3dbbaeb1d9dfad85f53b88edef4d77ee692d43e 100644 (file)
@@ -56,7 +56,7 @@ import org.xml.sax.Attributes;
 
 // FOP
 import org.apache.fop.apps.FOPException;
-import org.apache.fop.fo.Property.*;
+import org.apache.fop.fo.Property.Maker;
 
 public class PropertyListBuilder {
 
@@ -129,7 +129,7 @@ public class PropertyListBuilder {
      *     properties.
      * @return PropertyList object containing collection of Properties objects
      *     appropriate for the FObj
-     * @throws FOPException
+     * @throws FOPException If an error occurs while building the PropertyList
      */
     public PropertyList makeList(String nameSpaceURI, String elementName,
                                  Attributes attributes,
@@ -203,8 +203,7 @@ public class PropertyListBuilder {
             Property prop = null;
             if (subPropertyName == null) {
                 prop = propertyMaker.make(propList, attributeValue, parentFO);
-            }
-            else {
+            } else {
                 Property baseProperty = findBaseProperty(attributes, propList,
                         parentFO, basePropertyName, propertyMaker);
                 prop = propertyMaker.make(baseProperty, subPropertyName,
@@ -213,8 +212,7 @@ public class PropertyListBuilder {
             if (prop != null) {
                 propList.put(basePropertyName, prop);
             }
-        }
-        catch (FOPException e) {
+        } catch (FOPException e) {
             /**@todo log this exception */
             // log.error(e.getMessage());
         }