Skip to content
Browse files

Source formatting

  • Loading branch information...
1 parent 8b1f95f commit b061249fe3e2e2bf8d071599ea1465f8f223abb1 @hhuijser hhuijser committed with brianchandotcom
View
2 hooks/sample-authverifier-hook/docroot/WEB-INF/liferay-hook.xml
@@ -3,4 +3,4 @@
<hook>
<portal-properties>portal.properties</portal-properties>
-</hook>
+</hook>
View
2 misc/jalopy.xml
@@ -75,4 +75,4 @@
</always>
</wrapping>
</printer>
-</jalopy>
+</jalopy>
View
2 portlets/calendar-portlet/docroot/WEB-INF/src/META-INF/calendar-spring.xml
@@ -28,5 +28,5 @@
</map>
</property>
</bean>
- <bean id="com.liferay.calendar.workflow.CalendarBookingApprovalWorkflow" class="com.liferay.calendar.workflow.CalendarBookingApprovalWorkflowImpl" />
+ <bean id="com.liferay.calendar.workflow.CalendarBookingApprovalWorkflow" class="com.liferay.calendar.workflow.CalendarBookingApprovalWorkflowImpl" />
</beans>
View
2 portlets/modules-admin-portlet/ivy.xml
@@ -11,4 +11,4 @@
<dependency name="org.osgi.compendium" org="org.osgi" rev="4.3.1" />
<dependency name="org.osgi.core" org="org.osgi" rev="4.3.1" />
</dependencies>
-</ivy-module>
+</ivy-module>
View
18 portlets/sample-hibernate-portlet/docroot/WEB-INF/src/hibernate.cfg.xml
@@ -5,7 +5,7 @@
<session-factory>
<!-- Daffodil -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.DaffodilDBDialect</property>
<property name="hibernate.connection.driver_class">in.co.daffodil.db.rmi.RmiDaffodilDBDriver</property>
<property name="hibernate.connection.url">jdbc:daffodilDB://localhost:3456/sample_hibernate;create=true</property>
@@ -13,7 +13,7 @@
<property name="hibernate.connection.password"></property>-->
<!-- DB2 -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.DB2Dialect</property>
<property name="hibernate.connection.driver_class"></property>
<property name="hibernate.connection.url"></property>
@@ -21,7 +21,7 @@
<property name="hibernate.connection.password"></property>-->
<!-- Derby -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
<property name="hibernate.connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property name="hibernate.connection.url">jdbc:derby:build/derby/sample_hibernate;create=true</property>
@@ -29,7 +29,7 @@
<property name="hibernate.connection.password"></property>-->
<!-- Firebird -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.FirebirdDialect</property>
<property name="hibernate.connection.driver_class">org.firebirdsql.jdbc.FBDriver</property>
<property name="hibernate.connection.url">jdbc:firebirdsql:localhost:sample_hibernate</property>
@@ -45,7 +45,7 @@
<property name="hibernate.connection.password"></property>-->
<!-- MySQL -->
-
+
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost/sample_hibernate?useUnicode=true&amp;characterEncoding=UTF-8</property>
@@ -53,7 +53,7 @@
<property name="hibernate.connection.password"></property>
<!-- Oracle -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:sample_hibernate</property>
@@ -61,7 +61,7 @@
<property name="hibernate.connection.password"></property>-->
<!-- PostgreSQL -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
<property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/sample_hibernate</property>
@@ -69,7 +69,7 @@
<property name="hibernate.connection.password"></property>-->
<!-- SQL Server -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
<property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="hibernate.connection.url">jtds:sqlserver://localhost:1433/sample_hibernate</property>
@@ -77,7 +77,7 @@
<property name="hibernate.connection.password"></property>-->
<!-- Sybase -->
-
+
<!--<property name="hibernate.dialect">org.hibernate.dialect.SybaseDialect</property>
<property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:jtds:sybase://localhost:7100/sample_hibernate</property>
View
76 portlets/test-opensocial-pubsub-portlet/gadgets/sample-pubsub-2-publisher.xml
@@ -1,39 +1,39 @@
-<?xml version="1.0"?>
-
-<Module>
- <ModulePrefs height="250" title="Sample PubSub Publisher">
- <Require feature="pubsub-2">
- <Param name="topics">
- <![CDATA[
- <Topic
- description="Publishes a random number."
- name="org.apache.shindig.random-number"
- publish="true"
- title="Random Number"
- type="number"
- />
- ]]>
- </Param>
- </Require>
- </ModulePrefs>
- <Content type="html">
- <![CDATA[
- <script>
- function publish() {
- var message = Math.random();
-
- gadgets.Hub.publish('org.apache.shindig.random-number', message);
-
- document.getElementById('output').innerHTML = message;
- }
- </script>
-
- <div>
- <input onclick="publish();" type="button" value="Publish a Random Number" />
- </div>
-
- <div id="output">
- </div>
- ]]>
- </Content>
+<?xml version="1.0"?>
+
+<Module>
+ <ModulePrefs height="250" title="Sample PubSub Publisher">
+ <Require feature="pubsub-2">
+ <Param name="topics">
+ <![CDATA[
+ <Topic
+ description="Publishes a random number."
+ name="org.apache.shindig.random-number"
+ publish="true"
+ title="Random Number"
+ type="number"
+ />
+ ]]>
+ </Param>
+ </Require>
+ </ModulePrefs>
+ <Content type="html">
+ <![CDATA[
+ <script>
+ function publish() {
+ var message = Math.random();
+
+ gadgets.Hub.publish('org.apache.shindig.random-number', message);
+
+ document.getElementById('output').innerHTML = message;
+ }
+ </script>
+
+ <div>
+ <input onclick="publish();" type="button" value="Publish a Random Number" />
+ </div>
+
+ <div id="output">
+ </div>
+ ]]>
+ </Content>
</Module>
View
4 portlets/test-opensocial-pubsub-portlet/gadgets/sample-pubsub-2-subscriber.xml
@@ -4,7 +4,7 @@
<ModulePrefs height="250" title="Sample PubSub Subscriber">
<Require feature="pubsub-2">
<Param name="topics">
- <![CDATA[
+ <![CDATA[
<Topic
description="Subscribes to random number generator."
name="org.apache.shindig.random-number"
@@ -37,7 +37,7 @@
function unsubscribe() {
gadgets.Hub.unsubscribe(subId);
-
+
document.getElementById('output').innerHTML = '';
}
</script>
View
6 source_formatter_xml_leading_spaces_exclusions.properties
@@ -0,0 +1,6 @@
+#
+# XML files that are allowed to have lines that start with spaces.
+#
+portlets/sample-struts-liferay-portlet/docroot/WEB-INF/validator-rules.xml
+portlets/sample-struts-portlet/docroot/WEB-INF/validator-rules.xml
+webs/solr4-web/docroot/WEB-INF/conf/solrconfig.xml
View
2 webs/kaleo-web/docroot/WEB-INF/src/META-INF/kaleo-spring.xml
@@ -324,4 +324,4 @@
<bean id="com.liferay.portal.workflow.kaleo.parser.WorkflowValidator" class="com.liferay.portal.workflow.kaleo.parser.DefaultWorkflowValidator">
<property name="nodeValidatorRegistry" ref="com.liferay.portal.workflow.kaleo.parser.NodeValidatorRegistry" />
</bean>
-</beans>
+</beans>

0 comments on commit b061249

Please sign in to comment.
Something went wrong with that request. Please try again.