com.hazelcast.util
Class EmptyStatement

java.lang.Object
  extended by com.hazelcast.util.EmptyStatement

public final class EmptyStatement
extends Object

This class does nothing!

It is useful if you e.g. don't need to do anything with an exception; but checkstyle is complaining that you need to have at least 1 statement.


Method Summary
static void ignore(Throwable t)
          Does totally nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

ignore

public static void ignore(Throwable t)
Does totally nothing.

Parameters:
t - the exception to ignore.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.