Skip to content

Commit

Permalink
minor changes, reinstate update-always
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@969 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Jan 14, 2009
1 parent 8c794e2 commit 018d29c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -58,6 +58,7 @@
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
Expand Down
Expand Up @@ -31,9 +31,9 @@
*
* @author Gavin King
*
* @param <T>
* @param <S>
* @param <P>
* @param <T> the bean type
* @param <S> the injection point type
* @param <P> the parameterized type
*/
public abstract class AbstractFacadeBean<T, S, P> extends AbstractBean<T, S>
{
Expand Down
Expand Up @@ -39,14 +39,14 @@ public class InstanceBean<T, S> extends AbstractFacadeBean<Instance<T>, S, T>
/**
* Creates an instance Web Bean
*
* @param field The instance injection point abstraction
* @param item The instance injection point abstraction
* @param manager the current manager
* @param declaringBean The declaring bean abstraction
* @return An event Web Bean
*/
public static <T, S> InstanceBean<T, S> of(AnnotatedItem<Instance<T>, S> field, ManagerImpl manager)
public static <T, S> InstanceBean<T, S> of(AnnotatedItem<Instance<T>, S> item, ManagerImpl manager)
{
return new InstanceBean<T, S>(field, manager);
return new InstanceBean<T, S>(item, manager);
}

/**
Expand Down
Expand Up @@ -109,7 +109,7 @@ public final List<Annotation> getEventBindings()
/**
* @return the observer
*/
public final Observer<T> getObserver()
public final Observer<? extends T> getObserver()
{
return observer;
}
Expand Down Expand Up @@ -170,8 +170,7 @@ public boolean equals(Object other)
{
return false;
}
@SuppressWarnings("unchecked")
EventObserver<T> otherObserver = (EventObserver<T>) other;
EventObserver<?> otherObserver = (EventObserver<?>) other;
if (!eventType.equals(otherObserver.getEventType()))
{
return false;
Expand Down

0 comments on commit 018d29c

Please sign in to comment.