From ccdc23ab43cf45b5568b89ccda55663b1bbcead6 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Wed, 15 Jun 2016 02:48:23 +0000 Subject: [PATCH] bug 59170: remove deprecated methods in o.a.p.hpsf.wellknown.SectionIDMap git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748481 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hpsf/wellknown/SectionIDMap.java | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java b/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java index 53a8b9bb0..e71c9e87b 100644 --- a/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java +++ b/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java @@ -144,19 +144,6 @@ public class SectionIDMap extends HashMap { return (PropertyIDMap)super.get(new String(sectionFormatID, StringUtil.UTF8)); } - /** - *

Returns the {@link PropertyIDMap} for a given section format - * ID.

- * - * @param sectionFormatID A section format ID as a byte[] . - * @deprecated Use {@link #get(byte[])} instead! - * @return the property ID map - */ - public PropertyIDMap get(final Object sectionFormatID) - { - return get((byte[]) sectionFormatID); - } - /** *

Associates a section format ID with a {@link * PropertyIDMap}.

@@ -178,23 +165,4 @@ public class SectionIDMap extends HashMap { protected PropertyIDMap put(String key, PropertyIDMap value) { return (PropertyIDMap)super.put(key, value); } - - /** - * @deprecated Use {@link #put(byte[], PropertyIDMap)} instead! - * - * @see #put(byte[], PropertyIDMap) - * - * @param key This parameter remains undocumented since the method is - * deprecated. - * @param value This parameter remains undocumented since the method is - * deprecated. - * @return The return value remains undocumented since the method is - * deprecated. - */ - public PropertyIDMap put(final Object key, final Object value) - { - if (key instanceof String) - return put((String)key, (PropertyIDMap) value); - return put((byte[]) key, (PropertyIDMap) value); - } }