Skip to content

Commit e1bad35

Browse files
author
J Chapman Flack
committed
Code hygiene
Unrelated to the bug, clean up some string literals that had been used in place of class literals.
1 parent 0f81170 commit e1bad35

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pljava-api/src/main/java/org/postgresql/pljava/sqlgen/DDRProcessor.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171

7272
import static javax.tools.Diagnostic.Kind;
7373

74+
import org.postgresql.pljava.ResultSetHandle;
75+
import org.postgresql.pljava.ResultSetProvider;
76+
import org.postgresql.pljava.TriggerData;
77+
7478
import org.postgresql.pljava.annotation.Function;
7579
import org.postgresql.pljava.annotation.SQLAction;
7680
import org.postgresql.pljava.annotation.SQLActions;
@@ -199,11 +203,11 @@ class DDRProcessorImpl
199203
TY_RESULTSET = typu.getDeclaredType(
200204
elmu.getTypeElement( java.sql.ResultSet.class.getName()));
201205
TY_RESULTSETPROVIDER = typu.getDeclaredType(
202-
elmu.getTypeElement( "org.postgresql.pljava.ResultSetProvider"));
206+
elmu.getTypeElement( ResultSetProvider.class.getName()));
203207
TY_RESULTSETHANDLE = typu.getDeclaredType(
204-
elmu.getTypeElement( "org.postgresql.pljava.ResultSetHandle"));
208+
elmu.getTypeElement( ResultSetHandle.class.getName()));
205209
TY_TRIGGERDATA = typu.getDeclaredType(
206-
elmu.getTypeElement( "org.postgresql.pljava.TriggerData"));
210+
elmu.getTypeElement( TriggerData.class.getName()));
207211

208212
AN_FUNCTION = elmu.getTypeElement( Function.class.getName());
209213
AN_SQLACTION = elmu.getTypeElement( SQLAction.class.getName());

0 commit comments

Comments
 (0)