From 680f55b118101529b3ee3dc5384ee121c0119809 Mon Sep 17 00:00:00 2001 From: esoe Date: Wed, 19 Oct 2022 21:35:15 +0300 Subject: [PATCH] qq --- book/src/main/java/ru/molokoin/Book.java | 2 +- book/target/classes/ru/molokoin/Book.class | Bin 7912 -> 7904 bytes practice/src/main/java/ru/molokoin/App.java | 7 ++++- .../src/main/java/ru/molokoin/Employe.java | 5 ++++ .../java/ru/molokoin/MilitarySpeciality.java | 9 ++++++ .../src/main/java/ru/molokoin/Person.java | 27 ++++++++++++++++++ .../src/main/java/ru/molokoin/Soldier.java | 16 +++++++++++ practice/target/classes/ru/molokoin/App.class | Bin 527 -> 847 bytes .../target/classes/ru/molokoin/Employe.class | Bin 0 -> 270 bytes .../ru/molokoin/MilitarySpeciality.class | Bin 0 -> 1152 bytes .../target/classes/ru/molokoin/Person.class | Bin 0 -> 1112 bytes .../target/classes/ru/molokoin/Soldier.class | Bin 0 -> 815 bytes 12 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 practice/src/main/java/ru/molokoin/Employe.java create mode 100644 practice/src/main/java/ru/molokoin/MilitarySpeciality.java create mode 100644 practice/src/main/java/ru/molokoin/Person.java create mode 100644 practice/src/main/java/ru/molokoin/Soldier.java create mode 100644 practice/target/classes/ru/molokoin/Employe.class create mode 100644 practice/target/classes/ru/molokoin/MilitarySpeciality.class create mode 100644 practice/target/classes/ru/molokoin/Person.class create mode 100644 practice/target/classes/ru/molokoin/Soldier.class diff --git a/book/src/main/java/ru/molokoin/Book.java b/book/src/main/java/ru/molokoin/Book.java index 937d17b..f8b2fab 100644 --- a/book/src/main/java/ru/molokoin/Book.java +++ b/book/src/main/java/ru/molokoin/Book.java @@ -98,7 +98,7 @@ public class Book { throw new NullPointerException("в случае, если массив authors еще не создан и писать нового автора некуда, создаем пустой массив, пишем в него данные нового автора ..."); } catch (NullPointerException e) { //e.printStackTrace(); - System.out.println(e); + System.out.println(e.getMessage()); result = new String[1]; result[0] = author; setAuthors(result); diff --git a/book/target/classes/ru/molokoin/Book.class b/book/target/classes/ru/molokoin/Book.class index 42f9f1a56f6a7a448f099009e5f911cb7b3b0c5b..eeaaba2b2c61f0a72f79b7cb618484a0eec6ed3e 100644 GIT binary patch delta 229 zcmXZVze@rE6u|MX<_|b-@)8e{NazMHZgleynpzBX2-M+>I4|2$Q&7bJz{R1V4k=3; zCE*$x93A>68vQeRLc`;ImiK)-``2Dol%&sG<&Ay_#dEtwx6`@y+;v;|QH?VqM1h7G z@VF)WjbBa7zIfSOep0srUIT8XPO3Fd(H7XjS*gh-)|z3P)45LbC}}XT zFt9Q(FvMzYW0-!NL2Wm~+(@DM+Zh(__uIq}t-Fn3(d2OP%z8!N=!~Lp42ovZOf)ET<@CgwMqXh zeXxl{{{a6e<19x)u_pR5vopKj_s!1C&tKnu0Cy)Cb;<1cMVK z9Ue8gk~+Rf7Sd00z_1YfAzLTP9+xpg)jbL><-=6TxLfy{CKiZt8ud=7K@wZ25cJK6 z(`kvy)Td-*ql}xnvRe$B?kwMIMl0NAs7xz_NpviQvT&EdY((O8AjTF}7_2N1qas$Z zZeopLWg7TaMl$7U9QH*=aypMocz_K8?j7z2jn=F8469dKFpH?$SjHp$hfRjP|N6tf z7`>+Mi&w%HYE(;_WZh+0biLV*P+Pg`(y%Ij83=>HmEvQDrK2md*;Htpc9;xRN4%DL z7cAPW9X(a7fmVq256IDpR)?%fkx!nHH?}6QKA&IPWc4)&aE)v!dqDm=MMd1eJY_Vv zPc}z>+xU)hP|Kg8+;SXeae``CE1Y4u<=k=ZeZl<+9#UfWE8LHl8dWMoD;dO6frSm? auE9RntY*B}#$$Rzv%tff$?3=9nB3`!HZ*4A?}2r>w>GYBy<2xKLeCFCDLk8m0j;Ehmu&WLpVPJl$F|Y_cYk{NxNKA4aChTbbmY%o&&%7=bS3 y+{7RtB({w~Vk3~l#J~k4xqvhS0}BHO11keJki`R0$RNic59Bd2C;&+&21NiaRWYCd diff --git a/practice/target/classes/ru/molokoin/Employe.class b/practice/target/classes/ru/molokoin/Employe.class new file mode 100644 index 0000000000000000000000000000000000000000..5345f9901f2e7da25b853fbccdb33a803fd7bb90 GIT binary patch literal 270 zcmZurF>b;@5S%qO2IBw<;sJC?3a+FeqKQalB}F3ovpFS4&OT&pB%Vcul!6EFD8wG3 zq?y^7)$Yvc{C@;6K|h2?7?icht+9Vr7h;~TjoqmbKB2#oTPchze#B?GQdvc4zUo3( zGeYC(c|q{s>{3N&pdBMXlh8|ap+4$7Rpqx#jUqfIHj`!{OYQW{^s8UJAqE)QmMnT#PTan(TZazJa(hKGpJt-%K!#`ro1%nz&xT}BVR E3xH-f&;S4c literal 0 HcmV?d00001 diff --git a/practice/target/classes/ru/molokoin/MilitarySpeciality.class b/practice/target/classes/ru/molokoin/MilitarySpeciality.class new file mode 100644 index 0000000000000000000000000000000000000000..fdc792aac56f6fe06bff2df0828cfc77e8678d8e GIT binary patch literal 1152 zcmah{T~8WO5Ixrg7I6Kd7At;NTLG<9tM&n6BuX119}SBnn?7CX)~;Q4&9a#A-XGNB zgQiVQpZlYl&RwZ)(zNifcg|(z%sF@F=dZ6f0A6BO#t_52)5)}K)Bb21R;Fy2hRdC< zdagGOPH|U8fMN8EU+|2{ta-X}YWc%rwfd$|%h#(lhQ-qVS+WdrJzqI0=PL~1 z*T@}=W~%CPiyFkd*=G!4se_ZXyPs=*LAu;1xn1fyV> zP!Pid;?MO{;>psz2i0{9>oi+TH6oPzP(cu(Fk}H9DUbyS3oxS~EI>qnc?A)KM6{?N zieZMal40qUPU}Q>>iopi8Db^7$;}3L41vANC?rgfIQN6mCOsG2?C2CMCsPAGMv+8X zMv7tFr@h;D^_GG)tTRNomJ;n7GnnJqzQW`4c9wquE2OgOqDVNG;{?cR5wcK6JhbI ze*@EEW6~AIFEQzXc)$Zw9+(b#AmM@8kO$`E?^Go9FsW*R9;Q?+*h50qLOsl>mst2h zyhB)`Z=AG=&LeatNX;r~+$P>)cngN%z8$oL-x~!ty;yh!W5*QoLBkim*nD z`vgz><-62El*fBm(2k_^jg}KC%hJp>R@Xn%Kev)@+1Q1$+u Sfc?8}2wNWK3o<0QcYXt5disq3 literal 0 HcmV?d00001 diff --git a/practice/target/classes/ru/molokoin/Person.class b/practice/target/classes/ru/molokoin/Person.class new file mode 100644 index 0000000000000000000000000000000000000000..5d9156789d759cbb7b025fe540a07c40d8aad6cb GIT binary patch literal 1112 zcmZ{iZEw<06vzL!W2GzC0Tr0rbTSnOWg9*(+00&OvR7m?nIYNB0u?(;yOiSR(nMLJ zi66iZWjv=XFagu#+!VBmXcqy%!8 z)@Q5XT3)Yl*1ohmp}@)qCm4jD)we0FIlVs*1IOzf323f0zE@v6o)aDm>{RC?=RLKS zKZ6a>xtFfgPSq5sC{c#|gJ33Y?IkgysY(+jKnpbl7j( z!F#LiMnm`=%WYYK!{@}A3O_mnfkJa$7#dOb{$VIoYxBdb5c6G$WvGNe@nZz`-5)skSJq=0?z$m(6LV(7BLe)ntdLDNT?3I zE`>gtKibi}w5oKYfhExCbV2tVmo=}EG3z6&n!6(yU!#N~SpzAuD%mt8X;>v&B2PI^ z!y4|;i3&t*M6}~Z3N;{2k~R%m`EJ?#hRrXuQNYES1&~oe83!Z<>D?nw9%ekIXoaKA z`gd$j(e%j6jdM|jQXDlwQWGS>vL&@{f^5x#7z;t@1up{GnguCRyV8F^SP@o${#sJ& ujP&E-D?hP)VLZG>#T;R0gqpF(ra^`rPiYz9`7G%A4baL&v6oa%!K=T$5xVyP literal 0 HcmV?d00001 diff --git a/practice/target/classes/ru/molokoin/Soldier.class b/practice/target/classes/ru/molokoin/Soldier.class new file mode 100644 index 0000000000000000000000000000000000000000..7e2b76d6f9bbc31c3f255b22c27bd7830dc624a7 GIT binary patch literal 815 zcma)4$xg#C5Pfb-LetQerR*S<18rDxrrqjg|d-h82SEiC{!m3 zso0i*jJdk0Ux}vV6yGo`)V@Ra`w&$IYfFYQ-e%Y<*Dm-q_X8fb{Cccp*sA_g`Gc_1 zV94x5r@}!RITtouhLwL&R~il&@-7M}GL$+Z?l;V^T>fh&ZJ|(;p*ZNaPlP(+CxM{- z)S@O28eB=8C&f&BE<2?4gECn)?IwFBRVNO4+w}KshhZ?_AMd5s?|zrcl^^W=GgY%R z_Kb@GSPV`*>Z+#LmD;nLSlQ6hSR`1Q{tt$f#!{4~*v258S;~$n&(Q69t7}hiy!A&6 z-BF&xFr9hRYf+z#9N|Z(=JoIx#TaGOi4w+%O-B