Skip to content

Commit

Permalink
Removed unused constants
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed Sep 18, 2022
1 parent 72b727d commit 762513e
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
import com.sun.enterprise.deployment.util.DOLUtils;

/**
* An object representing the use of a message destination in a
* J2EE component.
* An object representing the use of a message destination in a J2EE component.
*
* @author Kenneth Saks
*/
Expand All @@ -31,12 +30,6 @@ public class MessageDestinationReferenceDescriptor extends EnvironmentProperty i
private static final long serialVersionUID = 1L;
private static final int NULL_HASH_CODE = Integer.valueOf(1).hashCode();

// Usage types
// FIXME: No usages, no validation. Implement it or remove these constants.
public static final String CONSUMES = "Consumes";
public static final String PRODUCES = "Produces";
public static final String CONSUMES_PRODUCES = "ConsumesProduces";

private BundleDescriptor referringBundle;
private String usage;
private String destinationType;
Expand Down

0 comments on commit 762513e

Please sign in to comment.