Fixed warnings with eclipse.