HomePhorge

(PUP-2568) Remove unnecessary calls
35c8ff39c42fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2568) Remove unnecessary calls

There are several calls that can be removed from various paths. Downcase
isn't needed for the PResourceType's type_name, since that is already
downcased (removes a string copy). The other change is that the NAME
pattern can handle leading :: and so that only needs to be stripped off
if it is a valid name (removes a string copy).

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
Josh Cooper <josh@puppetlabs.com>Committed on May 16 2014, 11:55 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU105dc4bbadd0: (maint) Reorder code to increase clarity
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU35c8ff39c42f: (PUP-2568) Remove unnecessary calls (authored by Andrew Parker <andy@puppetlabs.com>).May 16 2014, 11:55 PM