Code Duplication    Length = 6-6 lines in 2 locations

lib/private/DB/MDB2SchemaWriter.php 2 locations

@@ 138-143 (lines=6) @@
135
				$xml->addChild('type', 'clob');
136
				$xml->addChild('notnull', self::toBool($column->getNotnull()));
137
				break;
138
			case 'Decimal':
139
				$xml->addChild('type', 'decimal');
140
				$xml->addChild('default', $column->getDefault());
141
				$xml->addChild('notnull', self::toBool($column->getNotnull()));
142
				$xml->addChild('length', '15');
143
				break;
144
			case 'Boolean':
145
				$xml->addChild('type', 'integer');
146
				$xml->addChild('default', $column->getDefault());
@@ 144-149 (lines=6) @@
141
				$xml->addChild('notnull', self::toBool($column->getNotnull()));
142
				$xml->addChild('length', '15');
143
				break;
144
			case 'Boolean':
145
				$xml->addChild('type', 'integer');
146
				$xml->addChild('default', $column->getDefault());
147
				$xml->addChild('notnull', self::toBool($column->getNotnull()));
148
				$xml->addChild('length', '1');
149
				break;
150
			case 'DateTime':
151
				$xml->addChild('type', 'timestamp');
152
				$xml->addChild('default', $column->getDefault());