Skip to content

Commit

Permalink
rename vairable
Browse files Browse the repository at this point in the history
  • Loading branch information
YannanGao-gs committed Mar 5, 2024
1 parent 7f241a5 commit 37d0f9c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ public Query patchQuery(String queryId, Query updatedQuery, String currentUser)
throw new ApplicationQueryException("Only owner can update the query", Response.Status.FORBIDDEN);
}

Class<? extends Query> queryClazz = currentQuery.getClass();
for (java.lang.reflect.Field field : queryClazz.getDeclaredFields())
Class<? extends Query> queryClass = currentQuery.getClass();
for (java.lang.reflect.Field field : queryClass.getDeclaredFields())
{
try
{
Expand Down

0 comments on commit 37d0f9c

Please sign in to comment.