From bfdea0d33c83e37b5ebeff86ea320eecb0d3c60b Mon Sep 17 00:00:00 2001 From: hlly1 <hlly1@student.unimelb.edu.au> Date: Fri, 23 Oct 2020 02:16:02 +0800 Subject: [PATCH] no following gramma cases --- fuzzer/Fuzzer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzzer/Fuzzer.java b/fuzzer/Fuzzer.java index 31eb49c..68db6de 100644 --- a/fuzzer/Fuzzer.java +++ b/fuzzer/Fuzzer.java @@ -30,7 +30,7 @@ public class Fuzzer { double spaceType = Math.random(); if(spaceType > 0.8){ outputString += "\t"; - }else{ + }else if(spaceType<=0.75){ outputString += " "; } outputString += getRandomName(getRandomInt(0, MAX_LINE_LENGTH - outputString.length() - 1), false); @@ -38,7 +38,7 @@ public class Fuzzer { double spaceType = Math.random(); if(spaceType > 0.8){ outputString += "\t"; - }else{ + }else if(spaceType<=0.75){ outputString += " "; } outputString += getRandomName(getRandomInt(0, MAX_LINE_LENGTH - outputString.length() - 5), true); -- GitLab