Skip to content

I20210512-1800

@vogella vogella tagged this 07 May 08:37
This ticket uses and tests the "Use static inner class" cleanup feature:
 - It reviews the feature
 - It reduces the memory consumption as it avoids the pointer to the
outer class

Example:

Before:

public class Outer {

public class InnerClass {
    int i;

    public boolean anotherMethod() {
        return true;
    }
}
}

After:

public class Outer {

public static class InnerClass {
    int i;

    public boolean anotherMethod() {
        return true;
    }
}
}

Change-Id: I9dee2ae400cfe46b9828ccacd1ed7aec3f43b46c
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>

Change-Id: I9dee2ae400cfe46b9828ccacd1ed7aec3f43b46c


Change-Id: I9dee2ae400cfe46b9828ccacd1ed7aec3f43b46c
Reviewed-on: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/180217
Tested-by: PDE Bot <pde-bot@eclipse.org>
Reviewed-by: Lars Vogel <Lars.Vogel@vogella.com>
Assets 2
Loading