Skip to content

Commit 2ed5995

Browse files
committed
Fix typos and linguistic errors in documentation
Signed-off-by: Sebastien Dionne <[email protected]>
1 parent ddf3420 commit 2ed5995

File tree

15 files changed

+19
-19
lines changed

15 files changed

+19
-19
lines changed

appserver/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/impl/GlassfishNamingManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ private ArrayList<SimpleJndiName> listNames(SimpleJndiName name) throws NamingEx
654654
}
655655

656656
// This iterates over all names in entire component namespace,
657-
// so its a little inefficient. The alternative is to store
657+
// so it's a little inefficient. The alternative is to store
658658
// a list of bindings in each javaURLContext instance.
659659
ArrayList<SimpleJndiName> list = new ArrayList<>();
660660
final String logicalNameWithSlash;

appserver/persistence/entitybean-container/src/main/java/org/glassfish/persistence/ejb/entitybean/container/EntityContainer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ protected void afterCompletion(EJBContextImpl ctx, int status) {
15511551
// home methods, finders and remove dont need this
15521552
if ( !containerStateManager.isRemovedEJBObject(context)
15531553
|| !containerStateManager.isRemovedEJBLocalObject(context) ) {
1554-
// Remove bean from ActiveTxCache table if its there.
1554+
// Remove bean from ActiveTxCache table if it's there.
15551555
// No need to remove it from txBeanTable because the table
15561556
// gets updated in ContainerFactoryImpl.removeContainerSync.
15571557

@@ -1575,7 +1575,7 @@ protected void afterCompletion(EJBContextImpl ctx, int status) {
15751575
} else if (containerStateManager.isNullEJBObject(context) &&
15761576
containerStateManager.isNullEJBLocalObject(context)) {
15771577
// This happens if an ejbcreate has an exception, in that case
1578-
// we remove bean from ActiveTxCache table if its there.
1578+
// we remove bean from ActiveTxCache table if it's there.
15791579
// and return it to the pool
15801580
//removeIncompleteTxEJB(context, false);
15811581

appserver/resources/resources-runtime/src/main/java/org/glassfish/resources/module/ResourcesDeployer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ private void validatePreservedResources(Map<String, Resources> allResources, App
864864
getResourceDeployer(resource).validatePreservedResource(oldApp, newApp, resource, oldModuleResources);
865865
}
866866
}
867-
}//else its a new module in the archive being redeployed.
867+
}//else it's a new module in the archive being redeployed.
868868
}
869869
}
870870

appserver/tests/appserv-tests/devtests/deployment/versioning/simple-versioned-appclient/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<property name="preparatorClassName" value="${testPackage}.client.GetJWSClientStubs"/>
4141
<property name="gfDDFile" value="glassfish-application-client.xml"/>
4242
<property name="gfDDDir" value="META-INF"/>
43-
<!-- untaggedName: the name of the application, its the version's prefix -->
43+
<!-- untaggedName: the name of the application, it's the version's prefix -->
4444
<property name="untaggedName" value="simple-versioned-appclient"/>
4545
<!-- packaging: the file archive's extention -->
4646
<property name="packaging" value="jar"/>

appserver/tests/appserv-tests/devtests/deployment/versioning/simple-versioned-ear/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
<!-- link: the context root of the servlet -->
4444
<property name="link" value="/${untaggedName}"/>
45-
<!-- untaggedName: the name of the application, its the version's prefix -->
45+
<!-- untaggedName: the name of the application, it's the version's prefix -->
4646
<property name="untaggedName" value="simple-versioned-ear"/>
4747
<!-- packaging: the file archive's extention -->
4848
<property name="packaging" value="ear"/>

appserver/tests/appserv-tests/devtests/deployment/versioning/simple-versioned-servlet/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<property name="testPackage" value="versionedservlet"/>
4040
<property name="gfDDFile" value="glassfish-web.xml"/>
4141
<property name="gfDDDir" value="WEB-INF"/>
42-
<!-- untaggedName: the name of the application, its the version's prefix -->
42+
<!-- untaggedName: the name of the application, it's the version's prefix -->
4343
<property name="untaggedName" value="simple-versioned-servlet"/>
4444
<!-- link: the context root of the servlet -->
4545
<property name="link" value="/${untaggedName}"/>

appserver/tests/appserv-tests/devtests/jdbc/multiplecloseconnection/ejb/SimpleSessionBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public boolean test2() throws Exception {
100100
} catch (Exception e1) {
101101
e.printStackTrace();
102102
//closing a connection multiple times is a no-op.
103-
//If exception is thrown, its a failure.
103+
//If exception is thrown, it's a failure.
104104
passed = false;
105105
}
106106
}

appserver/tests/appserv-tests/devtests/jdbc/v3/v3_jdbc_dev_tests/src/java/org/glassfish/jdbc/devtests/v3/test/MultipleConnectionCloseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private boolean multipleCloseConnection_2(DataSource ds1, PrintWriter out) {
122122
} catch (Exception e1) {
123123
e.printStackTrace();
124124
//closing a connection multiple times is a no-op.
125-
//If exception is thrown, its a failure.
125+
//If exception is thrown, it's a failure.
126126
passed = false;
127127
}
128128
}

appserver/tests/appserv-tests/devtests/security/jdbcrealm/client/HttpBasicAuthTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ public void run() {
146146
failureCount++;
147147
}
148148

149-
// test failed(well failed if its a postive test, this
150-
// is expected if its a negative test)
149+
// test failed(well failed if it's a postive test, this
150+
// is expected if it's a negative test)
151151

152152
result = false;
153153
continue;

appserver/transaction/jta/src/main/java/com/sun/enterprise/transaction/JavaEETransactionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ public byte[] getGlobalTransactionId() {
807807

808808
@Override
809809
public byte[] getBranchQualifier() {
810-
return bqual; // V2-XXX check if its ok to always have same bqual
810+
return bqual; // V2-XXX check if it's ok to always have same bqual
811811
}
812812

813813
// START IASRI 4662745

0 commit comments

Comments
 (0)