Sort the includes for cross-JVM generation consistency

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6269 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Charlie Groves
2010-11-15 20:52:23 +00:00
parent 1cb16d4173
commit ecb5f96567
11 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -5,10 +5,10 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "presents/dobj/DObject.h"
#include "util/Name.h"
#include "presents/data/PermissionPolicy.h"
#include "presents/dobj/DObject.h"
#include "presents/dobj/DSet.h"
#include "util/Name.h"
namespace presents { namespace data {
+1 -1
View File
@@ -5,8 +5,8 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "presents/dobj/NamedEvent.h"
#include "presents/Streamable.h"
#include "presents/dobj/NamedEvent.h"
namespace presents { namespace dobj {
+1 -1
View File
@@ -5,8 +5,8 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "presents/dobj/NamedEvent.h"
#include "presents/Streamable.h"
#include "presents/dobj/NamedEvent.h"
namespace presents { namespace dobj {
+1 -1
View File
@@ -5,8 +5,8 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "presents/net/UpstreamMessage.h"
#include "presents/net/Credentials.h"
#include "presents/net/UpstreamMessage.h"
namespace presents { namespace net {
+1 -1
View File
@@ -5,8 +5,8 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "presents/data/InvocationMarshaller.h"
#include "presents/Streamable.h"
#include "presents/data/InvocationMarshaller.h"
namespace presents { namespace net {
+1 -1
View File
@@ -5,8 +5,8 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "presents/net/DownstreamMessage.h"
#include "presents/dobj/DEvent.h"
#include "presents/net/DownstreamMessage.h"
namespace presents { namespace net {
+1 -1
View File
@@ -5,8 +5,8 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "presents/net/UpstreamMessage.h"
#include "presents/dobj/DEvent.h"
#include "presents/net/UpstreamMessage.h"
namespace presents { namespace net {
+1 -1
View File
@@ -5,8 +5,8 @@
#include "presents/ObjectOutputStream.h"
#include "presents/streamers/StreamableStreamer.h"
#include "util/Name.h"
#include "presents/net/Credentials.h"
#include "util/Name.h"
namespace presents { namespace net {
@@ -42,8 +42,8 @@ public class GenCPPReceiverTask extends GenReceiverTask
CPPUtil.writeTemplate(DECODER_HEADER_TMPL, _cpproot,
CPPUtil.makePath(namespaces, dname, ".h"), ctx);
Set<String> receiverHeaderIncludes = Sets.newHashSet();
Set<String> decoderImplIncludes = Sets.newHashSet();
Set<String> receiverHeaderIncludes = Sets.newTreeSet();
Set<String> decoderImplIncludes = Sets.newTreeSet();
for (ServiceMethod meth : methods) {
for (Type type : meth.method.getGenericParameterTypes()) {
CPPType cppType = new CPPType(type);
@@ -41,8 +41,8 @@ public class GenCPPServiceTask extends GenServiceTask
ctx.put("listeners", sdesc.listeners);
ctx.put("argbuilder", new CPPArgBuilder(true));
Set<String> includes = Sets.newHashSet();
Set<String> implIncludes = Sets.newHashSet();
Set<String> includes = Sets.newTreeSet();
Set<String> implIncludes = Sets.newTreeSet();
for (ServiceMethod meth : sdesc.methods) {
for (Type type : meth.method.getGenericParameterTypes()) {
CPPType cppType = new CPPType(type);
@@ -91,8 +91,8 @@ public class GenCPPStreamableTask extends GenTask
ctx.put("javaName", sclass.getName());
ctx.put("namespace", CPPUtil.makeNamespace(sclass));
Set<String> headerIncludes = Sets.newHashSet();
Set<String> implIncludes = Sets.newHashSet();
Set<String> headerIncludes = Sets.newTreeSet();
Set<String> implIncludes = Sets.newTreeSet();
if (needSuper) {
ctx.put("super", makeCPPName(sclass.getSuperclass()));
addInclude(sclass.getSuperclass(), headerIncludes);