Skip to content

Commit

Permalink
Add missing @OverRide annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Mar 23, 2015
1 parent 675363d commit d16899c
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/ome-xml/src/ome/units/quantity/Angle.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Angle(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.Angle> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.Angle> unit()
{
return unit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public ElectricPotential(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.ElectricPotential> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.ElectricPotential> unit()
{
return unit;
Expand Down
3 changes: 3 additions & 0 deletions components/ome-xml/src/ome/units/quantity/Frequency.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Frequency(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.Frequency> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.Frequency> unit()
{
return unit;
Expand Down
3 changes: 3 additions & 0 deletions components/ome-xml/src/ome/units/quantity/Length.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Length(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.Length> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.Length> unit()
{
return unit;
Expand Down
3 changes: 3 additions & 0 deletions components/ome-xml/src/ome/units/quantity/Power.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Power(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.Power> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.Power> unit()
{
return unit;
Expand Down
3 changes: 3 additions & 0 deletions components/ome-xml/src/ome/units/quantity/Pressure.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Pressure(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.Pressure> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.Pressure> unit()
{
return unit;
Expand Down
3 changes: 3 additions & 0 deletions components/ome-xml/src/ome/units/quantity/Temperature.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Temperature(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.Temperature> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.Temperature> unit()
{
return unit;
Expand Down
3 changes: 3 additions & 0 deletions components/ome-xml/src/ome/units/quantity/Time.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public Time(Number inValue,
hashCodeValue = SEED2 * hashCodeValue + unit.getSymbol().hashCode();
}

@Override
public Number value()
{
return value;
Expand All @@ -84,6 +85,7 @@ public Number value(Unit<ome.units.quantity.Time> inUnit)
return null;
}

@Override
public boolean equals(Object other)
{
if (other == null)
Expand Down Expand Up @@ -138,6 +140,7 @@ public String toString()
return result.toString();
}

@Override
public Unit<ome.units.quantity.Time> unit()
{
return unit;
Expand Down

0 comments on commit d16899c

Please sign in to comment.