Created
June 15, 2023 18:26
-
-
Save Mycoola/5bb90343185d22bec957297e091dd559 to your computer and use it in GitHub Desktop.
Created with Copy to Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TaskUtility | |
{ | |
public static String getTaskPriority(String leadCountry) | |
{ | |
if(String.isBlank(leadCountry)||leadCountry.length()>2) | |
{ | |
return null; | |
} | |
String taskPriority; | |
if(leadCountry=='US') | |
{ | |
taskPriority='High'; | |
} | |
else | |
{ | |
taskPriority='Normal'; | |
} | |
return taskPriority; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment