Java edits