Buggy code:
public class MarketDef implements Serializable { public MarketDef ( int numMarkets , int numMarketsLoan , int numMarketsSecloan , String [ ] marketTitles , MarketType [ ] marketTypes , float [ ] minPrices , float [ ] maxPrices , float [ ] faceValues , float [ ] collateralRequired , int [ ] marketTime , int [ ] numDivisions , boolean useGui , boolean useEffCashValidation ) { } public MarketDef ( int numMarkets , int numMarketsLoan , int numMarketsSecloan , String [ ] marketTitles , MarketType [ ] marketTypes , float [ ] minPrices , float [ ] maxPrices , float [ ] faceValues , float [ ] collateralRequired , int [ ] marketTime , int [ ] numDivisions ) { } public void generatePrices ( ) { } public void regeneratePrices ( ) { } public float getIncrement ( int market ) { } public float [ ] [ ] getPrices ( ) { } public void setNumMarkets ( int numMarkets ) { } public int getNumMarkets ( ) { } public int getNumMarketsTotal ( ) { } public void setNumMarketsTotal ( int numMarketsTotal ) { } public int getNumLoanMarkets ( ) { } public void setNumLoanMarkets ( int numLoanMarkets ) { } public int getNumSecloanMarkets ( ) { } public void setNumSecloanMarkets ( int numSecloanMarkets ) { } public void setMarketTitles ( String [ ] marketTitles ) { } public String [ ] getMarketTitles ( ) { } public void setMarketTypes ( MarketType [ ] marketTypes ) { } public MarketType [ ] getMarketTypes ( ) { } public void setMinPrices ( float [ ] minPrices ) { } public float [ ] getMinPrices ( ) { } public void setMaxPrices ( float [ ] maxPrices ) { } public float [ ] getMaxPrices ( ) { } public float [ ] getFaceValues ( ) { } public void setFaceValues ( float [ ] faceValues ) { } public float [ ] getCollateralRequired ( ) { } public void setCollateralRequired ( float [ ] collateralRequired ) { } public void setNumDivisions ( int [ ] numDivisions ) { } public int [ ] getNumDivisions ( ) { } public void setPriceId_db ( int market , float price , int id ) { } public float getPriceWithNormalId ( int market , int id ) { } public int getPriceId_db ( int market , float price ) { } public float getPrice ( int market , int id_db ) { } public int getPriceId ( int market , int id_db ) { } public void setPeriodSecurityId ( int market , int id ) { } public int getPeriodSecurityId ( int market ) { } public void setPeriodLoanId ( int market , int id ) { } public int getPeriodLoanId ( int market ) { } public void setSecurityId ( int market , int id ) { } public int getSecurityId ( int market ) { } public int getLoanId ( int market ) { } public void setLoanId ( int market , int id ) { } public int getMarketId ( int securityId ) { } public int getLoanMarketId ( int loanId ) { } public int [ ] getMarketTime ( ) { } public void setMarketTime ( int [ ] marketTime ) { } public int getMarketTime ( int market ) { } public void setMarketTime ( int market , int time ) { } public void setUseGui ( boolean useGui ) { } public boolean getUseGui ( ) { } public void setUseEffCashValidation ( boolean b ) { } public boolean getUseEffCashValidation ( ) { } public float getUpSecurityPrice ( ) { } public void setUpSecurityPrice ( float upSecurityPrice ) { this . upSecurityPrice = upSecurityPrice ; maxPrices [ 0 ] = upSecurityPrice ; for ( int i = 0 ; i < ( numLoanMarkets ) ; i ++ ) { maxPrices [ ( ( numMarkets ) + i ) ] = upSecurityPrice ; if ( ( numSecloanMarkets ) > 0 ) { maxPrices [ ( ( ( numMarkets ) + ( numLoanMarkets ) ) + i ) ] = 5.0F ; <START_BUG> minPrices [ ( ( ( numMarkets ) + ( numLoanMarkets ) ) + i ) ] = 0.0F ; <END_BUG> } minPrices [ ( ( numMarkets ) + i ) ] = minPrices [ 0 ] ; faceValues [ ( ( numMarkets ) + i ) ] = ( faceValuesOrig [ ( ( numMarkets ) + i ) ] ) * upSecurityPrice ; } } public float getDownSecurityPrice ( ) { } public void setDownSecurityPrice ( float downSecurityPrice ) { } public float [ ] getFaceValuesOrig ( ) { } public void setFaceValuesOrig ( float [ ] faceValuesOrig ) { } private int numMarkets ; private int numLoanMarkets ; private int numSecloanMarkets ; private int numMarketsTotal ; private String [ ] marketTitles ; private MarketType [ ] marketTypes ; private float [ ] minPrices ; private float [ ] maxPrices ; private float [ ] faceValues ; private float [ ] collateralRequired ; private int [ ] numDivisions ; private float [ ] [ ] prices ; private float upSecurityPrice ; private float downSecurityPrice ; private int [ ] marketTime ; private boolean useGui ; private boolean useEffCashValidation ; private Hashtable [ ] priceIds ; private int [ ] securityIds ; private int [ ] loanIds ; private int [ ] periodSecurityIds ; private int [ ] periodLoanIds ; private float [ ] faceValuesOrig ; }

Fix:
minPrices [ ( ( ( numMarkets ) + ( numLoanMarkets ) ) + i ) ] = minPrices [ 0 ] ;