pmd:RedundantFieldInitializer - Redundant-Field-Initializer

This commit is contained in:
Mohammed Ezzat
2016-02-18 08:40:19 +02:00
parent 57be8aa522
commit 0003c6cb00
12 changed files with 15 additions and 15 deletions

View File

@ -40,7 +40,7 @@ public class ReaderWriterLock implements ReadWriteLock {
private Object readerMutex = new Object();
private int currentReaderCount = 0;
private int currentReaderCount;
/**
* Global mutex is used to indicate that whether reader or writer gets the lock in the moment.

View File

@ -29,7 +29,7 @@ import java.util.concurrent.locks.Lock;
*/
public class Writer implements Runnable {
private Lock writeLock = null;
private Lock writeLock;
private String name;