Skip to content
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

Open
wants to merge 6 commits into
base: selenate3
Choose a base branch
from
Open

SeCommon - RFC #25

wants to merge 6 commits into from

Conversation

dinkoz
Copy link

@dinkoz 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 <dinko.zoric@gmail.com>
- 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) {
Copy link
Owner

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).

Copy link
Author

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?

Copy link
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants