blob: 2bb6ab2db771f0c59f74f47556b392a6334f252b [file] [log] [blame]
package org.example.service.impl;
import org.example.service.Foo;
public class MyComponentImpl {
private Foo myFoo;
private int anInt;
public MyComponentImpl() {
anInt = 2;
}
public MyComponentImpl(int i) {
anInt = i;
}
public void start() {
myFoo.doSomething();
if (anInt > 0) {
System.out.println("Set int to " + anInt);
}
}
}