code: public void setDefaultProfiles(String... profiles) {
          if (profiles == null) {
              throw new IllegalArgumentException("profiles must not be null");
          }
          synchronized (defaultProfiles) {
              defaultProfiles.clear();
              for (String profile : profiles) {
                  validateProfile(profile);
                  defaultProfiles.add(profile);
              }
          }
      }
docs: Specify the set of profiles to be made active by default if no other profiles
  are explicitly made active through {@link #setActiveProfiles}.
  <p>Calling this method removes overrides any reserved default profiles
  that may have been added during construction of the environment.</p>
  
  @param profiles the set of profiles to be made active by default