From f7be6b1dc86c89260923f7e3e94e714664104568 Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Tue, 7 Sep 2004 13:14:44 +0000 Subject: [PATCH] Style: rmeoved tabs. Fixed copyright year. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197928 13f79535-47bb-0310-9956-ffa450edef68 --- .../properties/PositionShorthandParser.java | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/java/org/apache/fop/fo/properties/PositionShorthandParser.java b/src/java/org/apache/fop/fo/properties/PositionShorthandParser.java index bfed8d1bf..bc7f46999 100755 --- a/src/java/org/apache/fop/fo/properties/PositionShorthandParser.java +++ b/src/java/org/apache/fop/fo/properties/PositionShorthandParser.java @@ -1,5 +1,5 @@ /* - * Copyright 1999-2004 The Apache Software Foundation. + * Copyright 2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,30 +30,30 @@ public class PositionShorthandParser implements ShorthandParser { Property property, PropertyMaker maker, PropertyList propertyList) { - int propVal = property.getEnum(); - if (propId == Constants.PR_ABSOLUTE_POSITION) { - switch (propVal) { - case Constants.STATIC: - case Constants.RELATIVE: - return new EnumProperty(Constants.AUTO, "AUTO"); - case Constants.ABSOLUTE: - return new EnumProperty(Constants.ABSOLUTE, "ABSOLUTE"); - case Constants.FIXED: - return new EnumProperty(Constants.FIXED, "FIXED"); - } - } - if (propId == Constants.PR_RELATIVE_POSITION) { - switch (propVal) { - case Constants.STATIC: - return new EnumProperty(Constants.STATIC, "STATIC"); - case Constants.RELATIVE: - return new EnumProperty(Constants.RELATIVE, "RELATIVE"); - case Constants.ABSOLUTE: - return new EnumProperty(Constants.STATIC, "STATIC"); - case Constants.FIXED: - return new EnumProperty(Constants.STATIC, "STATIC"); - } - } - return null; + int propVal = property.getEnum(); + if (propId == Constants.PR_ABSOLUTE_POSITION) { + switch (propVal) { + case Constants.STATIC: + case Constants.RELATIVE: + return new EnumProperty(Constants.AUTO, "AUTO"); + case Constants.ABSOLUTE: + return new EnumProperty(Constants.ABSOLUTE, "ABSOLUTE"); + case Constants.FIXED: + return new EnumProperty(Constants.FIXED, "FIXED"); + } + } + if (propId == Constants.PR_RELATIVE_POSITION) { + switch (propVal) { + case Constants.STATIC: + return new EnumProperty(Constants.STATIC, "STATIC"); + case Constants.RELATIVE: + return new EnumProperty(Constants.RELATIVE, "RELATIVE"); + case Constants.ABSOLUTE: + return new EnumProperty(Constants.STATIC, "STATIC"); + case Constants.FIXED: + return new EnumProperty(Constants.STATIC, "STATIC"); + } + } + return null; } } -- 2.39.5