From f4b576029a465541f8f06a78ecadf936d7942af4 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 22 Oct 2020 16:37:18 +0700 Subject: [PATCH] Make em code short because I can. --- Week8/Assignment8/bin/partB/Replace.class | Bin 1927 -> 2170 bytes Week8/Assignment8/src/partB/Replace.java | 6 +----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Week8/Assignment8/bin/partB/Replace.class b/Week8/Assignment8/bin/partB/Replace.class index 0cb5f57defa81b9929945966361bb65eb8ed93b1..738c79127b00f64ed86dd483c2083ee41135dfbe 100644 GIT binary patch delta 1004 zcmZuw&rcIk5dNm!WtUQ*6u}l0Dp2TeC?aT!2o)6&s9F^P1s7TxNkvi%iHS)sCjJ3y zJnM5)x$M1_baeKRFTSvxTFgbgx{d0( z71Su`CD{IIC5#jWrwO(H$IGpzrrWy_;8n&&1#QaTEr#pGhoFz3=-s35!N4* z!)*Z}X2nrBR1B9UE<{`^F6!UO5gsXxE{f<_sXrT)# zYI4(c{kbVXH}wy^-qQC>L7LH<%znE4X3RWK`5mY*ai?Ow9avt&SwQoqxqky8#`ZS( z9n8~aUt?$s?TKlr(YGxnUqH17HXz$Wi2}N&o)EG7<^JbQKE(_Rul105t%8JV<~CHI z7DG6~R>TZ7_SP_~jH3s29Ohm#jY6*Y35oW(geC<&TtEdb1*a7B@yC8D`pf?D8#~Hz z1`&N+{*sRtaMr(tA@K|683&5^0^?v2Ut;W(ieyv}xkxS-FyWVMeOri61yoy1*q~yY z5Y{P4s$pf-rU)P;u5yB~Tn$_?)_g?Nm55ug|k$|OQG z!;_Lm7v*?LL=y&32GAPrV2)XshK+U*GE|OvZj6a#KjAJTGmGy+V-ip=+LDAPn_D6wO#zkr(sU#yA56A_lS|9t6m^Rf;X;~1Qby)fVux)o3oCwW2T zQ~ZjOtt)bxWKZ`j@t*FYlG@Wfr-;&Ra22iX%o;Zb4j_wRY~mnjFJAE>y~82w^0$3P z1Yc>vcY62>F>&y%^&lYwNXjr$5=Hv1WH2syzOE9ovVxr4z=UjIQnrw9TRMv_KptQj qD-_GhJk9T;qnqNy1tN{IAF)cLQ+yW}i42a=#3dpJJ1@5fzVa8=ag=rd diff --git a/Week8/Assignment8/src/partB/Replace.java b/Week8/Assignment8/src/partB/Replace.java index cb63888..06d3491 100644 --- a/Week8/Assignment8/src/partB/Replace.java +++ b/Week8/Assignment8/src/partB/Replace.java @@ -16,11 +16,7 @@ public class Replace { return; //If a is a null pointer, return immediately to prevent a NullPointerException } //NOTE: return; (a return statement without a return value) in a method with no return type will break out of the method. - for(int i = 0;i