List of usage examples for org.springframework.util Assert notNull
@Deprecated public static void notNull(@Nullable Object object)
From source file:org.arrow.data.neo4j.query.cypher.start.SimpleStart.java
public SimpleStart(String cypher) { Assert.notNull(cypher); cypher = StringUtils.replace(cypher, "start", ""); cypher = StringUtils.trimWhitespace(cypher); this.cypher = cypher; }
From source file:org.arrow.data.neo4j.query.cypher.where.SimpleWhere.java
public SimpleWhere(String cypher) { Assert.notNull(cypher); cypher = StringUtils.replace(cypher, "where", ""); cypher = StringUtils.trimWhitespace(cypher); this.cypher = cypher; }
From source file:org.mule.modules.automation.testcases.GetProjectMembersTestCases.java
@Category({ RegressionTests.class, SmokeTests.class }) @Test/*w ww .j a v a 2s. c o m*/ public void testGetProjectMembers() throws Exception { Collection<Membership> members = runFlowAndGetPayload("get-project-members"); Assert.notNull(members); Assert.notEmpty(members); }
From source file:org.mule.modules.automation.testcases.GetAvailableProjectsTestCases.java
@Category({ RegressionTests.class, SmokeTests.class }) @Test// w ww.j av a 2 s . c o m public void testGetAvailableProjects() throws Exception { Collection<Project> projects = runFlowAndGetPayload("get-available-projects"); Assert.notNull(projects); Assert.notEmpty(projects); }
From source file:com.nmote.xr.spring.XRProxyBean.java
public void setTypeConverter(TypeConverter typeConverter) { Assert.notNull(typeConverter); this.typeConverter = typeConverter; }
From source file:biz.c24.io.spring.config.BeanDefinitionUtils.java
/** * Returns the {@link AbstractBeanDefinition} built by the given builder applying the given source to it. * //from w ww. j av a 2s .c om * @param builder * @param source * @return */ public static AbstractBeanDefinition getSourcedBeanDefinition(BeanDefinitionBuilder builder, Object source) { Assert.notNull(builder); AbstractBeanDefinition definition = builder.getBeanDefinition(); definition.setSource(source); return definition; }
From source file:com.jaxio.celerio.model.support.EnumNamer.java
public EnumNamer(EnumConfig enumConfig, ClassType classType) { Assert.notNull(enumConfig); Assert.notNull(classType);/*from w ww .j a va2s . com*/ this.enumConfig = enumConfig; this.classType = classType; }
From source file:com.oreilly.springdata.querydsl.order.LineItem.java
public LineItem(Product product, int amount) { Assert.notNull(product); this.product = product; this.amount = amount; }
From source file:org.jcf.graphicMessage.Delete.java
/** * ctor with the id to delete * @param id */ Delete(Id id) { Assert.notNull(id); this.id = id; }
From source file:jp.xet.uncommons.web.env.LocalEnvironmentProfile.java
/** * ??//from w w w . j av a2 s . c o m * * @param environmentName ?? * @throws IllegalArgumentException ?{@code null}??? */ public LocalEnvironmentProfile(String environmentName) { Assert.notNull(environmentName); this.environmentName = environmentName; }