anchor.diff:  
   
   client.pods().watch(new MyWatcher<Pod>() {
  -  @Override
  -  public void eventReceived(Action action, Pod pod) {
  -    // do something
  -  }
  +    @Override
  +    public void eventReceived(Action action, Pod pod) {
  +        // do something
  +    }
   });
   ----
   
  
positive.code:     namespace: <namespace>
  ----
  
  Replace <applicationName> and <namespace> with your values.
  Have a look at https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/[Configure Service Accounts for Pods] to get further information.
  
negative.code: [source%nowrap,java]
  ----
  public class PodResourceWatcher implements Watcher<Pod> {
      @Override
      public void eventReceived(Action action, Pod pod) {
          // do something
      }
  
      @Override
      public void onClose(KubernetesClientException e) {
          // do something
      }
  }
  
  ...
  