Author: ehillenius Date: Thu Jan 18 16:51:56 2007 New Revision: 497666 URL: http://svn.apache.org/viewvc?view=rev&rev=497666 Log: added method again to help people with migrating (related to WICKET-224)
Modified: incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/MarkupContainer.java Modified: incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/MarkupContainer.java URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/MarkupContainer.java?view=diff&rev=497666&r1=497665&r2=497666 ============================================================================== --- incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/MarkupContainer.java (original) +++ incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/MarkupContainer.java Thu Jan 18 16:51:56 2007 @@ -36,6 +36,7 @@ import wicket.markup.resolver.IComponentResolver; import wicket.model.ICompoundModel; import wicket.model.IModel; +import wicket.util.resource.IResourceStream; import wicket.util.string.Strings; import wicket.version.undo.Change; @@ -845,6 +846,19 @@ + " Enable debug messages for wicket.util.resource to get a list of all filenames tried"), ex); } + } + + /** + * NOT USED ANYMORE; it's here for helping people migrate from Wicket 1.2 to Wicket 1.3 + * @param containerClass + * @return nothing + * @throws always throws an [EMAIL PROTECTED] IllegalStateException} + */ + // TODO remove after release 1.3.0 + public final IResourceStream newMarkupResourceStream(Class containerClass) + { + throw new IllegalStateException( + "this method is not used any more (and shouldn't be called by clients anyway)"); } /**