Skip to content

Commit 3701c58

Browse files
committed
Cleanup legacy class
1 parent de7f9cf commit 3701c58

2 files changed

Lines changed: 0 additions & 17 deletions

File tree

src/main/java/com/yworks/yguard/ObfuscatorTask.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public class ObfuscatorTask extends YGuardBaseTask
119119
/** Holds value of property replaceClassNameStrings. */
120120
private boolean replaceClassNameStrings = true;
121121
private File[] tempJars;
122-
private boolean needYShrinkModel;
123122

124123
/**
125124
* Instantiates a new Obfuscator task.
@@ -284,15 +283,6 @@ private static final String toNativeType( String type, int arraydim ) {
284283
return nat.toString();
285284
}
286285

287-
/**
288-
* Sets need y shrink model.
289-
*
290-
* @param b the b
291-
*/
292-
public void setNeedYShrinkModel( boolean b ) {
293-
this.needYShrinkModel = b;
294-
}
295-
296286
/**
297287
* Used by ant to handle the <code>patch</code> element.
298288
*/

src/main/java/com/yworks/yguard/ant/ClassSection.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ public void setMap( String mapTo ) {
9494
*/
9595
public void setExtends( String extendsType ) {
9696
this.extendsType = ObfuscatorTask.toNativeClass( extendsType );
97-
if ( task instanceof ObfuscatorTask ) {
98-
( (ObfuscatorTask) task ).setNeedYShrinkModel( true );
99-
}
100-
10197
}
10298

10399
/**
@@ -116,9 +112,6 @@ public String getExtends() {
116112
*/
117113
public void setImplements( String implementsType ) {
118114
this.implementsType = ObfuscatorTask.toNativeClass( implementsType );
119-
if ( task instanceof ObfuscatorTask ) {
120-
( (ObfuscatorTask) task ).setNeedYShrinkModel( true );
121-
}
122115
}
123116

124117
/**

0 commit comments

Comments
 (0)