You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/02/06 16:38:08 UTC

[5/6] git commit: Remove deprecated and not used method - hasAssociatedMarkup

Remove deprecated and not used method - hasAssociatedMarkup


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/2a2ee668
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/2a2ee668
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/2a2ee668

Branch: refs/heads/master
Commit: 2a2ee668784b4e8d357727bff675981377e73ea4
Parents: 9df43e9
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Feb 6 13:54:42 2012 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Feb 6 13:54:42 2012 +0200

----------------------------------------------------------------------
 .../org/apache/wicket/markup/MarkupFactory.java    |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/2a2ee668/wicket-core/src/main/java/org/apache/wicket/markup/MarkupFactory.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/MarkupFactory.java b/wicket-core/src/main/java/org/apache/wicket/markup/MarkupFactory.java
index ca6097c..72e7026 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/MarkupFactory.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/MarkupFactory.java
@@ -269,21 +269,6 @@ public class MarkupFactory
 	}
 
 	/**
-	 * Check if container has associated markup
-	 * 
-	 * @param container
-	 *            The container to find the markup for
-	 * @return True if this markup container has associated markup
-	 * @deprecated please use {@link #getMarkup(MarkupContainer, boolean)} instead
-	 */
-	@Deprecated
-	public final boolean hasAssociatedMarkup(final MarkupContainer container)
-	{
-		Markup markup = getMarkup(container, false);
-		return markup != null && markup != Markup.NO_MARKUP;
-	}
-
-	/**
 	 * Get the markup resource stream provider registered with the factory.
 	 * <p>
 	 * If the 'container' implements {@link IMarkupResourceStreamProvider}, the container itself