Attempt a 1 for 1 Java/Scala swap.