Skip to content

Commit a83536c

Browse files
convert AbstractModel to Java
1 parent b41166b commit a83536c

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

sqldev/src/main/java/org/utplsql/sqldev/model/AbstractModel.java

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.utplsql.sqldev.model
16+
package org.utplsql.sqldev.model;
1717

18-
import org.eclipse.xtext.xbase.lib.util.ToStringBuilder
18+
import org.springframework.core.style.ToStringStyler;
1919

20-
abstract class AbstractModel {
21-
22-
override toString() {
23-
new ToStringBuilder(this).addAllFields.toString
24-
}
25-
26-
def getStyler() {
27-
return UtplsqlToStringStyler.STYLER;
28-
}
20+
public abstract class AbstractModel {
21+
22+
public ToStringStyler getStyler() {
23+
return UtplsqlToStringStyler.STYLER;
24+
}
2925
}

0 commit comments

Comments
 (0)