Skip to content

Commit 7e6ecd0

Browse files
authored
Remove trailing whitespace from CFC, CFM and Markdown files (#1031)
1 parent 7a5bf61 commit 7e6ecd0

File tree

10 files changed

+18
-17
lines changed

10 files changed

+18
-17
lines changed

api/build/BuildProperties.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @accessors true
55
*/
66
component accessors=true {
7-
cwd = GetDirectoryFromPath( GetCurrentTemplatePath() );
7+
cwd = GetDirectoryFromPath( GetCurrentTemplatePath() );
88
property name="docsDir" default="#ExpandPath( "/docs/" )#";
99
property name="functionReferenceDirectory" default="#docsDir#03.reference/01.functions/";
1010
property name="tagReferenceDirectory" default="#docsDir#03.reference/02.tags/";

api/reference/ObjectReferenceReader.cfc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ component accessors=true {
3030
if ( func.keyExists("member") && func.member.count() gt 0){
3131
var member = func.member;
3232
if (not objects.keyExists(member.type) )
33-
objects[member.type] = StructNew("linked");
33+
objects[member.type] = StructNew("linked");
3434
}
3535

3636
//var convertedFunc = _getFunctionDefinition( functionName );
3737
//functions[ functionName ] = convertedFunc;
38-
}
39-
setObjects( objects );
38+
}
39+
setObjects( objects );
4040
}
4141

4242
/*

api/sqlitecfc/tags/query.cfm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
---><cfsilent>
99

1010
<cfif not thisTag.hasEndTag>
11-
<cfthrow
12-
type="SqliteCFC.SyntaxError"
11+
<cfthrow
12+
type="SqliteCFC.SyntaxError"
1313
message="The SqliteCFC query tag requires an end tag.">
1414
</cfif>
1515

@@ -21,14 +21,14 @@
2121
<cfparam name="attributes.variableScope" type="string" default="application">
2222

2323
<cfif not StructKeyExists(attributes,"cfc") AND ((attributes.variableScope EQ "application" AND not StructKeyExists(application,attributes.variable)) OR (attributes.variableScope EQ "server" AND not StructKeyExists(SERVER,attributes.variable)))>
24-
<cfthrow
25-
type="SqliteCFC.NotDefined.CFC"
24+
<cfthrow
25+
type="SqliteCFC.NotDefined.CFC"
2626
message="Attribute validation error for the SqliteCFC Query tag."
2727
detail="The instantiated CFC was not passed via the CFC parameter, and does not exist in the variable #attributes.variableScope#[""#attributes.variable#""]">
2828
</cfif>
2929
<cfif not listFindNoCase("read,update",attributes.action)>
30-
<cfthrow
31-
type="SqliteCFC.SyntaxError"
30+
<cfthrow
31+
type="SqliteCFC.SyntaxError"
3232
message="Attribute validation error for the SqliteCFC Query tag."
3333
detail="The value of the action attribute must be one of 'list' or 'read'.">
3434
</cfif>

builders/html/templates/function.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#getEditLink(path=local.fn.getSourceFile(), edit=args.edit)#
88
#markdownToHtml( local.fn.getBody() )#
99
<!--- https://github.com/lucee/Lucee/pull/876 --->
10-
<cfif len(local.fn.getStatus()) gt 0
10+
<cfif len(local.fn.getStatus()) gt 0
1111
and (local.fn.getStatus() neq "implemented" and local.fn.getStatus() neq "implemeted")>
1212
<p><strong>Status:</strong> #local.fn.getStatus()#</p>
1313
</cfif>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
```luceescript+trycf
2-
thisYear = year( now() );
2+
thisYear = year( now() );
33
dump( thisYear );
44
```

docs/03.reference/02.tags/argument/tag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: <cfargument>
33
id: tag-argument
4-
related:
4+
related:
55
- tag-function
66
- tag-component
77
categories:

docs/03.reference/02.tags/catch/_examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
```lucee+trycf
44
<cftry>
55
<cfset a = 3/0>
6-
<cfdump var="#c#" />
6+
<cfdump var="#c#" />
77
<cfcatch>
88
<cfdump var="#cfcatch#">
99
</cfcatch>

docs/03.reference/02.tags/finally/_examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```lucee+trycf
22
<cftry>
33
<cfset a = 2/0>
4-
<cfdump var="#a#" />
4+
<cfdump var="#a#" />
55
<cfcatch type="any">
66
Caught an error.
77
</cfcatch>

docs/04.guides/02.installing-lucee/02.windows/04.installing-oracle-java-on-windows/page.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Which is the right one for my server?
1616

1717
It requires approximately 145MB of disk space.
1818

19-
**Java SE Development Kit (JDK)** is designed for development servers and includes a complete JRE plus tools for developing, debugging, and monitoring Java applications. Monitoring tools like the cool [Mission Control](https://docs.oracle.com/javacomponents/jmc-5-4/jmc-user-guide/index.html) can help solve problems.
19+
**Java SE Development Kit (JDK)** is designed for development servers and includes a complete JRE plus tools for developing, debugging, and monitoring Java applications. Monitoring tools like the cool [Mission Control](https://docs.oracle.com/javacomponents/jmc-5-4/jmc-user-guide/index.html) can help solve problems.
20+
2021
*Note:* If you plan to use [VisualVM](http://visualvm.java.net/) as your Java monitoring and troubleshooting tool, then the JDK is your choice. It requires approximately 310MB of diskspace.
2122

2223
Installing either the Server JRE or JDK is simple and takes around 10 minutes.

docs/04.guides/04.cookbooks/43.QOQ_Sucks/page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories:
1313

1414
This document explains why Query of Query is not the best approach and provides simple example about QOQ. The main reason you would not want to use query of query is that it is very slow.
1515

16-
### Example : ###
16+
### Example : ###
1717

1818
```lucee+trycf
1919
<cfscript>

0 commit comments

Comments
 (0)