Update ContextEncoder.java

Fix imports