Skip to content

Commit

Permalink
Comment out unused methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
broneill committed Sep 14, 2024
1 parent 1fc61eb commit afa8006
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/org/cojen/tupl/table/CodeUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ public static void appendValue(Variable bob, ColumnInfo info, Variable value) {
* UnsetColumnException or NullPointerException (NPE is still thrown if initial row is null)
* @return a local Variable or a Field
*/
public static Variable getColumnValue(Variable rowVar, ColumnInfo ci, boolean noException)
{
/*
public static Variable getColumnValue(Variable rowVar, ColumnInfo ci, boolean noException) {
String prefix = ci.prefix();
if (prefix == null && noException && ci.isScalarType()
Expand Down Expand Up @@ -190,13 +190,15 @@ public static Variable getColumnValue(Variable rowVar, ColumnInfo ci, boolean no
return columnVar;
}
*/

/**
* Generates code which follows a path to assign a column value. The generated code might
* throw an UnsetColumnException or NullPointerException (if following a null join path).
*
* @param rowVar can be a row type or row class
*/
/*
public static void setColumnValue(Variable rowVar, ColumnInfo ci, Variable columnVar) {
for (String prefix = ci.prefix(); prefix != null; prefix = ci.prefix()) {
rowVar = rowVar.invoke(prefix);
Expand All @@ -205,4 +207,5 @@ public static void setColumnValue(Variable rowVar, ColumnInfo ci, Variable colum
}
rowVar.invoke(ci.name, columnVar);
}
*/
}

0 comments on commit afa8006

Please sign in to comment.