Skip to content

Commit

Permalink
Fixed style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChandiH committed Dec 26, 2024
1 parent b64d1b0 commit 1295ad2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/frontend/core/common/JasmineGraphFrontendCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ long JasmineGraphFrontEndCommon::getSLAForGraphId(SQLiteDBInterface *sqlite, Per

std::vector<std::vector<std::pair<std::string, std::string>>>
JasmineGraphFrontEndCommon::getGraphData(SQLiteDBInterface *sqlite) {
return sqlite->runSelect("SELECT idgraph, name, upload_path, graph_status_idgraph_status, vertexcount, edgecount, centralpartitioncount FROM graph;");
return sqlite->runSelect("SELECT idgraph, name, upload_path, graph_status_idgraph_status, "
"vertexcount, edgecount, centralpartitioncount FROM graph;");
}

bool JasmineGraphFrontEndCommon::checkServerBusy(std::atomic<int> *currentFESession, int connFd) {
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/core/common/JasmineGraphFrontendCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.
#include "../../../query/algorithms/triangles/Triangles.h"

class JasmineGraphFrontEndCommon {
public:
public:
static bool graphExists(std::string basic_string, SQLiteDBInterface *sqlite);

static bool graphExistsByID(std::string id, SQLiteDBInterface *sqlite);
Expand Down Expand Up @@ -54,4 +54,4 @@ class JasmineGraphFrontEndCommon {
static std::string getPartitionCount(std::string path);
};

#endif //JASMINEGRAPHFRONTENDCOMMON_H
#endif // JASMINEGRAPHFRONTENDCOMMON_H
6 changes: 3 additions & 3 deletions src/frontend/ui/JasmineGraphFrontEndUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ static void add_graph_command(std::string masterIP,
static void remove_graph_command(std::string masterIP,
int connFd, SQLiteDBInterface *sqlite, bool *loop_exit_p, std::string command);
static void triangles_command(std::string masterIP,
int connFd, SQLiteDBInterface *sqlite,
PerformanceSQLiteDBInterface *perfSqlite, JobScheduler *jobScheduler, bool *loop_exit_p, std::string command);
int connFd, SQLiteDBInterface *sqlite, PerformanceSQLiteDBInterface *perfSqlite,
JobScheduler *jobScheduler, bool *loop_exit_p, std::string command);

void *uifrontendservicesesion(void *dummyPt) {
frontendservicesessionargs *sessionargs = (frontendservicesessionargs *)dummyPt;
Expand Down Expand Up @@ -583,4 +583,4 @@ static void triangles_command(std::string masterIP, int connFd,
*loop_exit_p = true;
}
}
}
}
2 changes: 1 addition & 1 deletion src/frontend/ui/JasmineGraphFrontEndUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ class JasmineGraphFrontEndUI {
JobScheduler *jobScheduler;
};

#endif //JASMINEGRAPHFRONTENDUI_H
#endif // JASMINEGRAPHFRONTENDUI_H
2 changes: 1 addition & 1 deletion src/frontend/ui/JasmineGraphFrontEndUIProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ limitations under the License.
class JasmineGraphFrontEndUIProtocol : public JasminGraphFrontEndProtocol {
};

#endif //JASMINEGRAPHFRONTENDUIPROTOCOL_H
#endif // JASMINEGRAPHFRONTENDUIPROTOCOL_H

0 comments on commit 1295ad2

Please sign in to comment.