-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SeCommon - RFC #25
base: selenate3
Are you sure you want to change the base?
SeCommon - RFC #25
Conversation
dinkoz
commented
Jan 20, 2015
- TODO : add missing actions to server
- How to create Session?
- What about FF preferences?
- SessionContext should be argument with which session is created (??)
Signed-off-by: Dinko <[email protected]>
- TODO : add missing actions to server - How to create Session? - What about FF preferences? - SessionContext should be argument with which session is created (??)
return t; | ||
} | ||
|
||
public static <T> List<T> guardEmptyList(final List<T> tList, final String field) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a guard against null elements here (foreach element guardNull)?
Also add another guard for lists which checks every elements for nulls, but doesn't check emptyness (or add an argument for that here).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
guard or skip null elements?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Throw exception on null element. There is no excuse for having null elements in lists.
removed some object mutation functions there are some cases where you want to change (update) only certain property's like in the case of ElementSelector when you want tu se existing but with different UUID and INDEX
Conflicts: code/Common/src/main/java/net/selenate/common/comms/SeElementSelector.java code/project/Settings.scala