Skip to content

Commit

Permalink
Remove @Inject annotations no longer needed due to TAP5-1170
Browse files Browse the repository at this point in the history
  • Loading branch information
hlship committed May 25, 2010
1 parent b08534f commit 18935de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Expand Up @@ -58,7 +58,7 @@ public static void contributeJavascriptStackSource(MappedConfiguration<String, J
}

public static void contributeComponentMessagesSource(OrderedConfiguration<Resource> configuration,
@Value("classpath:com/howardlewisship/tapx/datefield/tapx-datefield.properties")
@Value("com/howardlewisship/tapx/datefield/tapx-datefield.properties")
Resource catalog)
{
configuration.add("TapxDateField", catalog, "before:AppCatalog");
Expand Down
Expand Up @@ -19,7 +19,6 @@

import org.apache.tapestry5.Asset;
import org.apache.tapestry5.internal.TapestryInternalUtils;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.ioc.annotations.Symbol;
import org.apache.tapestry5.ioc.internal.util.CollectionFactory;
import org.apache.tapestry5.ioc.internal.util.Func;
Expand All @@ -44,9 +43,11 @@ public class DateFieldStack implements JavascriptStack

private final List<StylesheetLink> stylesheets;

public DateFieldStack(ThreadLocale threadLocale, AssetSource assetSource, @Inject
public DateFieldStack(ThreadLocale threadLocale, AssetSource assetSource,

@Symbol(DateFieldSymbols.SKIN)
String skin, @Inject
String skin,

@Symbol(DateFieldSymbols.THEME)
String theme)
{
Expand Down
Expand Up @@ -17,7 +17,6 @@
import org.apache.tapestry5.Asset;
import org.apache.tapestry5.SymbolConstants;
import org.apache.tapestry5.annotations.BeginRender;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.ioc.annotations.Symbol;
import org.apache.tapestry5.model.MutableComponentModel;
import org.apache.tapestry5.services.AssetSource;
Expand Down Expand Up @@ -46,7 +45,6 @@ public ImportYUIWorker(AssetSource assetSource,

JavascriptSupport javascriptSupport,

@Inject
@Symbol(YuiSymbols.BASE)
String yuiBase,

Expand Down

0 comments on commit 18935de

Please sign in to comment.