codeintel: Use correct enum value in janitor
Created by: efritz
Rename "processed" to "completed". Rename function where its used for consistency.
Created by: efritz
Rename "processed" to "completed". Rename function where its used for consistency.