package com.paritytrading.parity.match;

class Order {

    private final PriceLevel level;

    private final long id;

    private long remainingQuantity;

    public Order(PriceLevel level, long id, long size) {
        this.level = level;

        this.id = id;

        this.remainingQuantity = size;
    }

    public PriceLevel getLevel() {
        return level;
    }

    public long getId() {
        return id;
    }

    public long getRemainingQuantity() {
        return remainingQuantity;
    }

    public void reduce(long quantity) {
        remainingQuantity -= quantity;
    }

    public void resize(long size) {
        remainingQuantity = size;
    }

}

@@ -155,23 +155,16 @@
 y;%0A%0A    
-public 
 Order(Pr
@@ -303,23 +303,16 @@
  %7D%0A%0A    
-public 
 PriceLev
@@ -352,39 +352,32 @@
 vel;%0A    %7D%0A%0A    
-public 
 long getId() %7B%0A 
@@ -405,23 +405,16 @@
  %7D%0A%0A    
-public 
 long get
@@ -476,31 +476,24 @@
 %0A    %7D%0A%0A    
-public 
 void reduce(
@@ -563,15 +563,8 @@
     
-public 
 void

Clean up modifiers in 'Order'