Mercurial > mxd2map
comparison src/java/de/intevation/mxd/reader/SimpleFillSymbolReader.java @ 336:a46adb3697fa
Fix annoying typo. s/contructor/constructor
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 05 Nov 2012 16:28:36 +0100 |
parents | df4e0946ef02 |
children |
comparison
equal
deleted
inserted
replaced
335:4cf94b919725 | 336:a46adb3697fa |
---|---|
58 * | 58 * |
59 * @param symbol The symbol used to display polygons. | 59 * @param symbol The symbol used to display polygons. |
60 */ | 60 */ |
61 public SimpleFillSymbolReader(ISymbol symbol) | 61 public SimpleFillSymbolReader(ISymbol symbol) |
62 throws Exception { | 62 throws Exception { |
63 logger.debug("contructor(ISymbol)"); | 63 logger.debug("constructor(ISymbol)"); |
64 if(symbol instanceof SimpleFillSymbol) { | 64 if(symbol instanceof SimpleFillSymbol) { |
65 this.symbol = (SimpleFillSymbol)symbol; | 65 this.symbol = (SimpleFillSymbol)symbol; |
66 } | 66 } |
67 else { | 67 else { |
68 throw new Exception("Not a SimpleFillSymbol!"); | 68 throw new Exception("Not a SimpleFillSymbol!"); |
74 * | 74 * |
75 * @param symbol The symbol used to diplay polygons. | 75 * @param symbol The symbol used to diplay polygons. |
76 */ | 76 */ |
77 public SimpleFillSymbolReader(IFillSymbol symbol) | 77 public SimpleFillSymbolReader(IFillSymbol symbol) |
78 throws Exception { | 78 throws Exception { |
79 logger.debug("contructor(IFillSymbol)"); | 79 logger.debug("constructor(IFillSymbol)"); |
80 if(symbol instanceof SimpleFillSymbol) { | 80 if(symbol instanceof SimpleFillSymbol) { |
81 this.symbol = (SimpleFillSymbol)symbol; | 81 this.symbol = (SimpleFillSymbol)symbol; |
82 } | 82 } |
83 else { | 83 else { |
84 throw new Exception("Not a SimpleFillSymbol!"); | 84 throw new Exception("Not a SimpleFillSymbol!"); |