src/com/btwiz/library/BTWiz.java
public static void registerForCleanup(BTSocket socket) {
		if (socket==null) {
			throw new RuntimeException("Registered socket cannot be null!"); 
		}
		synchronized (allSockets) {
			allSockets.add(socket);
		}
	}
/**
	 * Registered a BluetoothSocket for future cleanup 
	 */
Registered a BluetoothSocket for future cleanup
Registered a BluetoothSocket for future cleanup
public static void registerForCleanup(BTSocket socket) {
		if (socket==null) {
			throw new RuntimeException("Registered socket cannot be null!"); 
		}
		synchronized (allSockets) {
			allSockets.add(socket);
		}
	}
public static void registerForCleanup ( BTSocket socket ) { if ( socket == null ) { throw new RuntimeException ( "Registered socket cannot be null!" ) ; } synchronized ( allSockets ) { allSockets . add ( socket ) ; } }
Registered a BluetoothSocket for future cleanup
Registered a BluetoothSocket for future cleanup