summaryrefslogtreecommitdiff
path: root/src/proguard/optimize/MethodStaticizer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/proguard/optimize/MethodStaticizer.java')
-rw-r--r--src/proguard/optimize/MethodStaticizer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proguard/optimize/MethodStaticizer.java b/src/proguard/optimize/MethodStaticizer.java
index c8bdd11..c672bfa 100644
--- a/src/proguard/optimize/MethodStaticizer.java
+++ b/src/proguard/optimize/MethodStaticizer.java
@@ -2,7 +2,7 @@
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
- * Copyright (c) 2002-2013 Eric Lafortune (eric@graphics.cornell.edu)
+ * Copyright (c) 2002-2014 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
@@ -74,8 +74,8 @@ implements MemberVisitor,
{
// Make the method static.
programMethod.u2accessFlags =
- (programMethod.getAccessFlags() & ~ClassConstants.INTERNAL_ACC_FINAL) |
- ClassConstants.INTERNAL_ACC_STATIC;
+ (programMethod.getAccessFlags() & ~ClassConstants.ACC_FINAL) |
+ ClassConstants.ACC_STATIC;
// Visit the method, if required.
if (extraStaticMemberVisitor != null)