<commit_before>﻿

(function (window, unused) {

    var iVoltDbCore = (function () {
        this.connections = {};

        DbConnection = function(aServer, aPort, aAdmin, aUser, aPassword, aIsHashPassword,aProcess) {
            this.server = aServer == null ? 'localhost' : $.trim(aServer);
            this.port = aPort == null ? '8080' : $.trim(aPort);
            this.admin = (aAdmin == true || aAdmin == "true");
            this.user = aUser == '' ? null : aUser;
            this.password = aPassword == '' ? null : (aIsHashPassword == false ? aPassword : null);
            this.isHashedPassword = aPassword == '' ? null : (aIsHashPassword == true ? aPassword : null);
            this.process = aProcess;
            this.key = (this.server + '_' + this.port + '_' + (this.user == '' ? '' : this.user) + '_' + (this.admin == true ? 'Admin' : '') + "_" + this.process).replace(/[^_a-zA-Z0-9]/g, "_");
            this.display = this.server + ':' + this.port + (this.user == '' ? '' : ' (' + this.user + ')') + (this.admin == true ? ' - Admin' : '');
            this.Metadata = {};
            this.ready = false;
            this.procedureCommands = {};
            
            this.getQueue = function() {<commit_msg>Handled the case of null value of cookie for user credentials.<commit_after>﻿

(function (window, unused) {

    var iVoltDbCore = (function () {
        this.connections = {};

        DbConnection = function(aServer, aPort, aAdmin, aUser, aPassword, aIsHashPassword,aProcess) {
            this.server = aServer == null ? 'localhost' : $.trim(aServer);
            this.port = aPort == null ? '8080' : $.trim(aPort);
            this.admin = (aAdmin == true || aAdmin == "true");
            this.user = (aUser == '' || aUser == 'null') ? null : aUser;
            this.password = (aPassword == '' || aPassword == 'null' ) ? null : (aIsHashPassword == false ? aPassword : null);
            this.isHashedPassword = (aPassword == '' || aPassword == 'null') ? null : (aIsHashPassword == true ? aPassword : null);
            this.process = aProcess;
            this.key = (this.server + '_' + this.port + '_' + (this.user == '' ? '' : this.user) + '_' + (this.admin == true ? 'Admin' : '') + "_" + this.process).replace(/[^_a-zA-Z0-9]/g, "_");
            this.display = this.server + ':' + this.port + (this.user == '' ? '' : ' (' + this.user + ')') + (this.admin == true ? ' - Admin' : '');
            this.Metadata = {};
            this.ready = false;
            this.procedureCommands = {};
            
            this.getQueue = function() {
{'fraction_non_alphanumeric': 0.19008904374758034, 'fraction_numerical': 0.004645760743321719, 'mean_word_length': 2.1940667490729298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5102101', 'n_tokens_mistral': 797, 'n_tokens_neox': 778, 'n_words': 162}