Author: scabanovich
Date: 2012-02-01 19:59:50 -0500 (Wed, 01 Feb 2012)
New Revision: 38387
Removed:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java
Log:
Rolled back wrong commit.
Deleted:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java 2012-02-02
00:55:41 UTC (rev 38386)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/ProjectValidationContextFactory.java 2012-02-02
00:59:50 UTC (rev 38387)
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at
http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.web.kb.internal;
-
-import org.eclipse.core.resources.IProject;
-import org.jboss.tools.common.validation.IProjectValidationContext;
-import org.jboss.tools.common.validation.IProjectValidationContextFactory;
-import org.jboss.tools.jst.web.kb.IKbProject;
-import org.jboss.tools.jst.web.kb.KbProjectFactory;
-
-public class ProjectValidationContextFactory implements IProjectValidationContextFactory
{
-
- public IProjectValidationContext getContext(IProject project) {
- IKbProject kb = KbProjectFactory.getKbProject(project, true);
- return kb == null ? null : kb.getValidationContext();
- }
-
-}