When the triad type and seventh type are identical (IE both notes are major or minor), the name is shortened; a major/major seventh is generally referred to as a "major seventh".
When the triad type and seventh type are identical (i.e. they are both major, minor, or diminished), the name is shortened. For instance, a major/major seventh is generally referred to as a "major seventh".