URL: http://github.com/mil-lion/HelloJavaSE/commit/88a23c80c4157dedcfb0ad118826cf7e078e59ff
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1bf94c commit 88a23c8Copy full SHA for 88a23c8
1 file changed
src/main/java/ru/lionsoft/javase/hello/Box.java
@@ -36,7 +36,7 @@ public class Box<T extends Number>
36
/**
37
* Перечисление стандартных типоразмеров коробки
38
*/
39
- public static enum TyepSize {
+ public static enum TypeSize {
40
/** По умолчанию */
41
Default,
42
/** Малая */
@@ -302,7 +302,7 @@ public Box(T size) {
302
* Конструктор коробки стандартных размеров
303
* @param type типоразмер кробки
304
305
- public Box(TyepSize type) {
+ public Box(TypeSize type) {
306
switch (type) {
307
case Small:
308
width = (T)Integer.valueOf(1);
0 commit comments