You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/11/09 22:54:05 UTC
[GitHub] srkukarni commented on a change in pull request #2970: Ignore the
current class while going over variables
srkukarni commented on a change in pull request #2970: Ignore the current class while going over variables
URL: https://github.com/apache/pulsar/pull/2970#discussion_r232416982
##########
File path: pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdSinks.java
##########
@@ -168,6 +168,7 @@ public void runCmd() throws Exception {
localRunArgs.add(new Gson().toJson(sinkConfig));
for (Field field : this.getClass().getDeclaredFields()) {
if (field.getName().startsWith("DEPRECATED")) continue;
+ if(field.getName().startsWith("this$0")) continue;
Review comment:
Done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services