// This rule specifies wether an old Collection API Hashtable
// can be returned from a method.
// Hashtable has been replaced with HashMap which again is a
// Map.
// Instead of using Hashtable use HashMap and return this one.

// Wrong
public Hashtable getValuePairs()
{
    ...
}

// Ok
public Map getValuePairs()
...