poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r633114 - /poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
Date Mon, 03 Mar 2008 15:01:19 GMT
Author: nick
Date: Mon Mar  3 07:01:18 2008
New Revision: 633114

URL: http://svn.apache.org/viewvc?rev=633114&view=rev
Log:
Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter, but leave
the old version in as deprecated for now

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java?rev=633114&r1=633113&r2=633114&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java Mon Mar  3 07:01:18 2008
@@ -628,10 +628,17 @@
     }
 
     /**
-     * Determine whether printed output for this sheet will be vertically centered.
+     * TODO: Boolean not needed, remove after next release
+     * @deprecated use getVerticallyCenter() instead
      */
+    public boolean getVerticallyCenter(boolean value) {
+        return getVerticallyCenter();
+    }
 
-    public boolean getVerticallyCenter(boolean value)
+    /**
+     * Determine whether printed output for this sheet will be vertically centered.
+     */
+    public boolean getVerticallyCenter()
     {
         VCenterRecord record =
                 (VCenterRecord) sheet.findFirstRecordBySid(VCenterRecord.sid);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message